HomeFreeBSD

zfs: Avoid updating the L2ARC device header unnecessarily

Description

zfs: Avoid updating the L2ARC device header unnecessarily

From openzfs-master 0ae184a6b commit message:

If we do not write any buffers to the cache device and the evict hand
has not advanced do not update the cache device header.

Cherry-picked from openzfs 0ae184a6baaf71e155e9b19af81b75474622ff58
Patch Author: George Amanakis <gamanakis@gmail.com>

Reviewed by: delphij
Differential Revision: https://reviews.freebsd.org/D28682

(cherry picked from commit 5dce03847fdc7bc6eb959282c0ae2117b1991746)

Details

Provenance
mmAuthored on Feb 15 2021, 8:10 AM
Reviewer
delphij
Differential Revision
D28682: zfs: Avoid updating the L2ARC device header unnecessarily
Parents
rG6f21b7996a95: zfs: fix RAIDZ2/3 not healing parity with 2+ bad disks
Branches
Unknown
Tags
Unknown