Project

General

Profile

Actions

Bug #4897

closed

Space accounting mismatch in L2ARC/zpool

Added by Sašo Kiselkov about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
2014-05-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

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".

Actions #1

Updated by Sašo Kiselkov about 9 years ago

  • Assignee set to Sašo Kiselkov

Code review available at: http://reviews.csiden.org/r/35/

Actions #2

Updated by Electric Monk almost 9 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit 3038a2b421b40dc5ac11cd88423696618584f85a

commit  3038a2b421b40dc5ac11cd88423696618584f85a
Author: Saso Kiselkov <saso.kiselkov@nexenta.com>
Date:   2014-06-09T01:29:59.000Z

    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>

Actions

Also available in: Atom PDF