diff options
author | Alexander Motin <[email protected]> | 2023-10-30 19:56:04 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-30 16:56:04 -0700 |
commit | 799e09f75a31e80a1702a850838c79879af8b917 (patch) | |
tree | 7a25ed1e741a354170f461145042be31865ef5cd /module/zfs/zvol.c | |
parent | 514d661ca1d5df1f5e4f852d169f6969fcff2994 (diff) |
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
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Mark Johnston <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Sponsored by: iXsystems, Inc.
Closes #15456
Diffstat (limited to 'module/zfs/zvol.c')
0 files changed, 0 insertions, 0 deletions