]> git.proxmox.com Git - mirror_zfs.git/commit - module/os/linux/zfs/zfs_vnops_os.c
Add dataset_kstats_update.. to mmap read/write paths
authordrowfx <matthias@blankertz.org>
Wed, 9 Feb 2022 22:41:42 +0000 (23:41 +0100)
committerGitHub <noreply@github.com>
Wed, 9 Feb 2022 22:41:42 +0000 (14:41 -0800)
commit3819aaaff921733a58e091b37b5e87b740356542
treed754894b570c15d9618b5976856298dc4004ba6a
parent68ddc06b611854560fefa377437eb3c9480e084b
Add dataset_kstats_update.. to mmap read/write paths

This allows reads/writes caused by accesses to mmap files to be
accounted correctly in the per-dataset kstats for both Linux and
FreeBSD.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <freqlabs@FreeBSD.org>
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
Closes #12994
Closes #13044
module/os/freebsd/zfs/zfs_vnops_os.c
module/os/linux/zfs/zfs_vnops_os.c