zfs_racct: copy Linux implementation for userspace

The no-op is fine for both.

Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #16492
This commit is contained in:
Rob Norris
2024-08-28 22:28:16 +10:00
committed by Brian Behlendorf
parent 305d0a5fba
commit 4c9b59e541
2 changed files with 40 additions and 2 deletions
+2 -2
View File
@@ -16,7 +16,8 @@ dist_libzpool_la_SOURCES = \
%D%/kernel.c \
%D%/taskq.c \
%D%/util.c \
%D%/vdev_label_os.c
%D%/vdev_label_os.c \
%D%/zfs_racct.c
nodist_libzpool_la_SOURCES = \
module/lua/lapi.c \
@@ -46,7 +47,6 @@ nodist_libzpool_la_SOURCES = \
\
module/os/linux/zfs/vdev_file.c \
module/os/linux/zfs/zfs_debug.c \
module/os/linux/zfs/zfs_racct.c \
module/os/linux/zfs/zfs_znode.c \
module/os/linux/zfs/zio_crypt.c \
\