Project

General

Profile

Bug #7867

ARC space accounting leak

Added by Andriy Gapon over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2017-02-14
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

It seems that in the case where arc_hdr_free_pdata() sees HDR_L2_WRITING() we would fail to update the ARC space statistics.
In the normal case those statistics are updated in arc_free_data_buf(). But in the arc_hdr_free_on_write() path we don't do that.

History

#1

Updated by Electric Monk over 2 years ago

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

git commit 6de76ce2a90f54fecb0dba46dca08c99cef7aa08

commit  6de76ce2a90f54fecb0dba46dca08c99cef7aa08
Author: Andriy Gapon <avg@FreeBSD.org>
Date:   2017-03-07T17:16:01.000Z

    7867 ARC space accounting leak
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF