aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_ctldir.c
diff options
context:
space:
mode:
authorSaso Kiselkov <[email protected]>2014-05-22 10:11:57 +0100
committerBrian Behlendorf <[email protected]>2014-08-06 13:44:10 -0700
commit3bec585e6c86de869ba1bf132567ed2a01d6a15b (patch)
tree80ec043259c69f89dd3f82777caaaddc0ac82f12 /module/zfs/zfs_ctldir.c
parentfbeddd60b79690b6a6ececc9b00b6014d21405aa (diff)
Illumos 4897 - Space accounting mismatch in L2ARC/zpool
4897 Space accounting mismatch in L2ARC/zpool Reviewed by: Matthew Ahrens <[email protected]> Reviewed by: Boris Protopopov <[email protected]> Approved by: Dan McDonald <[email protected]> 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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2555
Diffstat (limited to 'module/zfs/zfs_ctldir.c')
0 files changed, 0 insertions, 0 deletions