Page MenuHomeFreeBSD

zfs: add zio_buf_alloc_nowait and use it in vdev_queue_aggregate
ClosedPublic

Authored by avg on Mar 14 2017, 1:37 PM.
Tags
None
Referenced Files
F170554354: D9999.id26249.diff
Sat, Sep 5, 9:31 AM
F170550543: D9999.id.diff
Sat, Sep 5, 9:03 AM
F170546990: D9999.id26593.diff
Sat, Sep 5, 8:37 AM
F170472497: D9999.id.diff
Fri, Sep 4, 11:58 PM
Unknown Object (File)
Thu, Sep 3, 4:11 PM
Unknown Object (File)
Wed, Sep 2, 9:07 PM
Unknown Object (File)
Wed, Sep 2, 7:39 PM
Unknown Object (File)
Wed, Sep 2, 3:50 PM
Subscribers

Details

Summary

This way we can avoid blocking the whole queue in the low memory
situations. It's better to sacrifice some I/O performance by not doing
the aggregation than to add an indefinite wait for more memory.

Test Plan

Different workloads on a ZFS-only system (with non-ZFS swap).

Diff Detail