mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #10474
This commit is contained in:
@@ -488,3 +488,9 @@ abd_iter_unmap(struct abd_iter *aiter)
|
||||
aiter->iter_mapaddr = NULL;
|
||||
aiter->iter_mapsize = 0;
|
||||
}
|
||||
|
||||
void
|
||||
abd_cache_reap_now(void)
|
||||
{
|
||||
kmem_cache_reap_soon(abd_chunk_cache);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user