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)
Thu, Nov 6, 7:09 PM
Unknown Object (File)
Mon, Nov 3, 2:51 AM
Unknown Object (File)
Fri, Oct 31, 7:18 AM
Unknown Object (File)
Thu, Oct 30, 12:18 AM
Unknown Object (File)
Sat, Oct 25, 1:54 PM
Unknown Object (File)
Sat, Oct 25, 9:03 AM
Unknown Object (File)
Oct 4 2025, 1:04 AM
Unknown Object (File)
Sep 29 2025, 10:41 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

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