diff options
author | Matthew Macy <[email protected]> | 2020-06-17 21:44:13 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-17 21:44:13 -0700 |
commit | 7564073ed6344c12e6bc4ffabd130522d937fb93 (patch) | |
tree | a4718c134d55297d537f8d79da6a6a82051d40cc /include/sys | |
parent | 4458157beecdf892a596bf8a61a958ebc492f0b3 (diff) |
Add abd_cache_reap_now for abd_chunk_cache users
Apparently missed in the initial port integration was
the need to reap the abd_chunk_cache on FreeBSD. This
change addresses that oversight.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #10474
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/abd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/abd.h b/include/sys/abd.h index dad048af5..e9bd0e96f 100644 --- a/include/sys/abd.h +++ b/include/sys/abd.h @@ -59,6 +59,7 @@ abd_t *abd_get_offset(abd_t *, size_t); abd_t *abd_get_offset_size(abd_t *, size_t, size_t); abd_t *abd_get_zeros(size_t); abd_t *abd_get_from_buf(void *, size_t); +void abd_cache_reap_now(void); /* * Conversion to and from a normal buffer |