HomeFreeBSD

Remove duplicate code in l2arc_evict()

Description

Remove duplicate code in l2arc_evict()

l2arc_evict() performs the adjustment of the size of buffers to be
written on L2ARC unnecessarily. l2arc_write_size() is called right
before l2arc_evict() and performs those adjustments.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #14828

Details

Provenance
g_amanakis_yahoo.comAuthored on May 9 2023, 3:54 PM
GitHub <noreply@github.com>Committed on May 9 2023, 3:54 PM
Parents
rGb035f2b2cb9b: Remove single parent assertion from zio_nowait().
Branches
Unknown
Tags
Unknown