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
F150513877: D9999.diff
Wed, Apr 1, 9:46 PM
F150442077: D9999.id26249.diff
Wed, Apr 1, 6:09 AM
Unknown Object (File)
Sat, Mar 28, 2:09 AM
Unknown Object (File)
Wed, Mar 25, 7:06 AM
Unknown Object (File)
Mon, Mar 23, 9:47 PM
Unknown Object (File)
Wed, Mar 18, 5:28 PM
Unknown Object (File)
Sun, Mar 15, 1:21 PM
Unknown Object (File)
Sun, Mar 15, 1:16 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