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
F169250765: D9999.id26249.diff
Tue, Sep 1, 1:39 AM
F169215726: D9999.id26249.diff
Mon, Aug 31, 9:37 PM
F169203233: D9999.id26593.diff
Mon, Aug 31, 7:48 PM
F169199559: D9999.id.diff
Mon, Aug 31, 7:26 PM
Unknown Object (File)
Fri, Aug 28, 8:29 AM
Unknown Object (File)
Sat, Aug 22, 6:06 PM
Unknown Object (File)
Mon, Aug 3, 8:24 AM
Unknown Object (File)
Mon, Aug 3, 1:33 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable