diff options
author | George Wilson <[email protected]> | 2015-06-24 15:48:22 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-06-25 08:58:16 -0700 |
commit | 669dedb33f4bf68ba75089f1e7b279932c9580a7 (patch) | |
tree | cd242cd354a17ade2773f9e6e2ede5f2c6ffb0e0 /include/sys/zfs_context.h | |
parent | aa9af22cdf8d16c197974c3a478d2053b3bed498 (diff) |
Illumos 5163 - arc should reap range_seg_cache
5163 arc should reap range_seg_cache
Reviewed by: Christopher Siden <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Richard Elling <[email protected]>
Reviewed by: Saso Kiselkov <[email protected]>
Approved by: Dan McDonald <[email protected]>
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 <[email protected]>
Diffstat (limited to 'include/sys/zfs_context.h')
-rw-r--r-- | include/sys/zfs_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h index 62f7611fa..acd370b23 100644 --- a/include/sys/zfs_context.h +++ b/include/sys/zfs_context.h @@ -408,7 +408,7 @@ extern void kstat_set_raw_ops(kstat_t *ksp, #define kmem_cache_alloc(_c, _f) umem_cache_alloc(_c, _f) #define kmem_cache_free(_c, _b) umem_cache_free(_c, _b) #define kmem_debugging() 0 -#define kmem_cache_reap_now(_c) /* nothing */ +#define kmem_cache_reap_now(_c) umem_cache_reap_now(_c); #define kmem_cache_set_move(_c, _cb) /* nothing */ #define POINTER_INVALIDATE(_pp) /* nothing */ #define POINTER_IS_VALID(_p) 0 |