HomeFreeBSD

Illumos 4897 - Space accounting mismatch in L2ARC/zpool

Description

Illumos 4897 - Space accounting mismatch in L2ARC/zpool

4897 Space accounting mismatch in L2ARC/zpool

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Boris Protopopov <bprotopopov@hotmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>

From the illumos issue tracker:

L2ARC vdev space usage statistics are calculated as the delta
between the maximum and minimum vdev offset ever written to
by the L2ARC fill thread, but do not inform the user of how
much space in between these two offsets is actually taken up by
cached buffers. This fix changes that so that vdev space usage
stats on L2ARC devices accurately track the volume of buffers
stored on them, allowing users to see the exact L2ARC usage in
"zpool iostat -v".

References:

https://www.illumos.org/issues/4897
https://github.com/illumos/illumos-gate/commit/3038a2b

Ported by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2555

Details

Provenance
Saso Kiselkov <saso.kiselkov@nexenta.com>Authored on May 22 2014, 9:11 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 6 2014, 8:44 PM
Parents
rGfbeddd60b796: Illumos 4390 - I/O errors can corrupt space map when deleting fs/vol
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG3bec585e6c86: Illumos 4897 - Space accounting mismatch in L2ARC/zpool (authored by Saso Kiselkov <saso.kiselkov@nexenta.com>).Aug 6 2014, 8:44 PM