]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/range_tree.c
Illumos 5163 - arc should reap range_seg_cache
authorGeorge Wilson <george.wilson@delphix.com>
Wed, 24 Jun 2015 22:48:22 +0000 (15:48 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 25 Jun 2015 15:58:16 +0000 (08:58 -0700)
commit669dedb33f4bf68ba75089f1e7b279932c9580a7
treecd242cd354a17ade2773f9e6e2ede5f2c6ffb0e0
parentaa9af22cdf8d16c197974c3a478d2053b3bed498
Illumos 5163 - arc should reap range_seg_cache

5163 arc should reap range_seg_cache
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>

References:
  https://www.illumos.org/issues/5163
  https://github.com/illumos/illumos-gate/commit/83803b5

Porting Notes:

Added umem_cache_reap_now() wrapped to suppress unused variable
warning for user space build in arc_kmem_reap_now().

Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/zfs_context.h
lib/libspl/include/umem.h
module/zfs/arc.c
module/zfs/range_tree.c