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)
Sat, Dec 6, 7:46 AM
Unknown Object (File)
Sat, Dec 6, 1:34 AM
Unknown Object (File)
Fri, Dec 5, 6:15 PM
Unknown Object (File)
Fri, Dec 5, 8:44 AM
Unknown Object (File)
Thu, Dec 4, 9:35 AM
Unknown Object (File)
Thu, Dec 4, 3:23 AM
Unknown Object (File)
Wed, Dec 3, 8:30 AM
Unknown Object (File)
Fri, Nov 28, 7:01 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