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)
Fri, Jun 6, 11:44 AM
Unknown Object (File)
Sat, May 17, 4:30 PM
Unknown Object (File)
May 7 2025, 4:23 AM
Unknown Object (File)
Apr 30 2025, 9:28 AM
Unknown Object (File)
Apr 21 2025, 8:23 AM
Unknown Object (File)
Apr 20 2025, 1:27 PM
Unknown Object (File)
Apr 20 2025, 8:03 AM
Unknown Object (File)
Apr 11 2025, 3:45 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