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)
Wed, Jul 22, 3:30 PM
Unknown Object (File)
Wed, Jul 22, 8:18 AM
Unknown Object (File)
Tue, Jul 21, 6:28 PM
Unknown Object (File)
Mon, Jul 13, 4:23 AM
Unknown Object (File)
Fri, Jul 10, 11:15 PM
Unknown Object (File)
Sat, Jul 4, 10:35 PM
Unknown Object (File)
Sat, Jul 4, 10:14 AM
Unknown Object (File)
Sat, Jul 4, 10:14 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