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
Unknown Object (File)
Fri, Sep 25, 9:07 AM
Unknown Object (File)
Thu, Sep 24, 1:48 PM
Unknown Object (File)
Thu, Sep 24, 6:36 AM
Unknown Object (File)
Mon, Sep 21, 3:36 PM
Unknown Object (File)
Mon, Sep 21, 7:54 AM
Unknown Object (File)
Sat, Sep 12, 3:36 AM
Unknown Object (File)
Fri, Sep 11, 5:00 PM
Unknown Object (File)
Fri, Sep 11, 10:42 AM
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