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)
Mon, Sep 21, 3:36 PM
Unknown Object (File)
Mon, Sep 21, 7:54 AM
Unknown Object (File)
Sat, Sep 12, 3:36 AM
Unknown Object (File)
Fri, Sep 11, 5:00 PM
Unknown Object (File)
Fri, Sep 11, 10:42 AM
Unknown Object (File)
Wed, Sep 9, 12:04 AM
Unknown Object (File)
Sun, Sep 6, 2:39 AM
Unknown Object (File)
Sat, Sep 5, 9:31 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