]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/arc.c
Illumos 5701 - zpool list reports incorrect "alloc" value for cache devices
authorPrakash Surya <prakash.surya@delphix.com>
Mon, 15 Jun 2015 23:12:19 +0000 (01:12 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 25 Jun 2015 15:51:44 +0000 (08:51 -0700)
commitd962d5dad9dae20dec096abe73f22a4c813199fd
tree1047bebf03ee633a003cafa95b279c571699ccc6
parentfa720217b9765303aaa882a9ccdf70c185acc53d
Illumos 5701 - zpool list reports incorrect "alloc" value for cache devices

5701 zpool list reports incorrect "alloc" value for cache devices
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com>
Approved by: Dan McDonald <danmcd@omniti.com>

References:
  https://www.illumos.org/issues/5701
  https://github.com/illumos/illumos-gate/commit/a52fc31

Porting Notes:

arc_space_return(HDR_L2ONLY_SIZE, ARC_SPACE_L2HDRS);
correctly placed at arc_hdr_l2hdr_destroy(arc_buf_hdr_t *hdr).

Ported by: kernelOfTruth kerneloftruth@gmail.com
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/arc_impl.h
module/zfs/arc.c