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
F161302864: D9999.diff
Thu, Jul 2, 2:35 PM
F161302821: D9999.diff
Thu, Jul 2, 2:35 PM
F161261360: D9999.diff
Thu, Jul 2, 6:01 AM
Unknown Object (File)
Tue, Jun 30, 7:54 PM
Unknown Object (File)
Tue, Jun 30, 6:59 PM
Unknown Object (File)
Mon, Jun 29, 8:21 PM
Unknown Object (File)
Thu, Jun 18, 3:16 AM
Unknown Object (File)
Sat, Jun 6, 4:22 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