]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/sys/zfs_vfsops.h
Introduce read/write kstats per dataset
[mirror_zfs.git] / include / sys / zfs_vfsops.h
index 31c9c6d7f74b0613ccb207051ec6d8e4a4160387..0a4f52f2f5b62953c94dae11081c4525122eecd0 100644 (file)
  */
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2018 by Delphix. All rights reserved.
  */
 
 #ifndef        _SYS_FS_ZFS_VFSOPS_H
 #define        _SYS_FS_ZFS_VFSOPS_H
 
+#include <sys/dataset_kstats.h>
 #include <sys/isa_defs.h>
 #include <sys/types32.h>
 #include <sys/list.h>
@@ -117,6 +119,7 @@ struct zfsvfs {
        boolean_t       z_xattr_sa;     /* allow xattrs to be stores as SA */
        uint64_t        z_version;      /* ZPL version */
        uint64_t        z_shares_dir;   /* hidden shares dir */
+       dataset_kstats_t        z_kstat;        /* fs kstats */
        kmutex_t        z_lock;
        uint64_t        z_userquota_obj;
        uint64_t        z_groupquota_obj;