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)
Feb 22 2024, 12:41 AM
Unknown Object (File)
Nov 14 2023, 9:01 PM
Unknown Object (File)
Oct 31 2023, 8:15 PM
Unknown Object (File)
Oct 21 2023, 4:37 PM
Unknown Object (File)
Sep 22 2023, 12:37 PM
Unknown Object (File)
Sep 6 2023, 2:59 PM
Unknown Object (File)
Jun 21 2023, 8:26 AM
Unknown Object (File)
Jun 15 2023, 5:33 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