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
F168436943: D9999.id26593.diff
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
Unknown Object (File)
Sun, Aug 2, 2:40 AM
Unknown Object (File)
Thu, Jul 30, 11:39 PM
Unknown Object (File)
Jul 22 2026, 3:30 PM
Unknown Object (File)
Jul 22 2026, 8:18 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