]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/dev/utopia/idtphy.c
MFV r314911: 7867 ARC space accounting leak
authorAndriy Gapon <avg@FreeBSD.org>
Wed, 8 Mar 2017 13:52:45 +0000 (13:52 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Wed, 8 Mar 2017 13:52:45 +0000 (13:52 +0000)
commit1a3c8498404f9d34ed0d7c612fefc40a2f771570
tree0abcf752c2b4a3cffcb3ea3315be1cf80a347e41
parent7e4b3a6fa2160ce2a17a832cd5f12967ae79e75c
parentb060bbc16ae5afaaeefede1f7afd318f364aab92
MFV r314911: 7867 ARC space accounting leak

illumos/illumos-gate@6de76ce2a90f54fecb0dba46dca08c99cef7aa08
https://github.com/illumos/illumos-gate/commit/6de76ce2a90f54fecb0dba46dca08c99cef7aa08

https://www.illumos.org/issues/7867
  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.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Author: Andriy Gapon <avg@FreeBSD.org>

MFC after: 10 days
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c