zfs/module/os/freebsd
Alexander Motin 5b81b1bf5e Unify arc_prune_async() code
There is no sense to have separate implementations for FreeBSD and
Linux.  Make Linux code shared as more functional and just register
FreeBSD-specific prune callback with arc_add_prune_callback() API.

Aside of code cleanup this should fix excessive pruning on FreeBSD:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274698

Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
2024-04-11 17:14:36 -07:00
..
spl Allow mounting snapshots in .zfs/snapshot as a regular user 2023-02-06 10:40:16 -08:00
zfs Unify arc_prune_async() code 2024-04-11 17:14:36 -07:00