HomeFreeBSD

l2arc: try to fix write size calculation broken by Compressed ARC commit

Description

l2arc: try to fix write size calculation broken by Compressed ARC commit

While there, make a change to not evict a first buffer outside the
requested eviciton range.

To do:

  • give more consistent names to the size variables
  • upstream to OpenZFS

PR: 216178
Reported by: lev
Tested by: lev
MFC after: 2 weeks

Details

Provenance
avgAuthored on
Parents
rS314273: zfs: call spa_deadman on a taskqueue thread
Branches
Unknown
Tags
Unknown