HomeFreeBSD

Avoid updating the L2ARC device header unnecessarily

Description

Avoid updating the L2ARC device header unnecessarily

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.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #11522
Closes #11537

Details

Provenance
g_amanakis_yahoo.comAuthored on Jan 28 2021, 5:20 PM
GitHub <noreply@github.com>Committed on Jan 28 2021, 5:20 PM
Parents
rG416015ef5441: Removing ABD Parent Child Reference Before Freeing ABD
Branches
Unknown
Tags
Unknown