]> git.proxmox.com Git - mirror_zfs.git/commit - man/man8/zfs.8
Introduce read/write kstats per dataset
authorSerapheim Dimitropoulos <serapheimd@gmail.com>
Mon, 20 Aug 2018 16:52:37 +0000 (09:52 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 20 Aug 2018 16:52:37 +0000 (09:52 -0700)
commita448a2557ec4938ed6944c7766fe0b8e6e5f6456
tree1d622c6c40aeb9c34d233ad562b2920ab2ef651c
parentfa84714abbb9316208bef7188009ee74204d532e
Introduce read/write kstats per dataset

The following patch introduces a few statistics on reads and writes
grouped by dataset. These statistics are implemented as kstats
(backed by aggregate sums for performance) and can be retrieved by
using the dataset objset ID number. The motivation for this change is
to provide some preliminary analytics on dataset usage/performance.

Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Closes #7705
16 files changed:
include/sys/Makefile.am
include/sys/dataset_kstats.h [new file with mode: 0644]
include/sys/fs/zfs.h
include/sys/zfs_vfsops.h
man/man8/zfs.8
man/man8/zpool.8
module/zcommon/zfs_prop.c
module/zcommon/zpool_prop.c
module/zfs/Makefile.in
module/zfs/dataset_kstats.c [new file with mode: 0644]
module/zfs/spa.c
module/zfs/zfs_vfsops.c
module/zfs/zfs_vnops.c
module/zfs/zpl_file.c
module/zfs/zvol.c
tests/zfs-tests/tests/functional/cli_root/zpool_get/zpool_get.cfg