diff options
author | Gvozden Neskovic <[email protected]> | 2017-08-04 12:23:10 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-08-21 10:05:54 -0700 |
commit | 551905dd475c6b4c4fa87d7734f018084a755af8 (patch) | |
tree | a11d863b7c306b70736b7d35915844bb5bf86fda /module/zfs/spa_misc.c | |
parent | d6c6590c5dd727832a58e77f7830049631b0c266 (diff) |
vdev_mirror: kstat observables for preferred vdev
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Gvozden Neskovic <[email protected]>
Closes #6461
Diffstat (limited to 'module/zfs/spa_misc.c')
-rw-r--r-- | module/zfs/spa_misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/spa_misc.c b/module/zfs/spa_misc.c index 14723a1ca..78e72aaf3 100644 --- a/module/zfs/spa_misc.c +++ b/module/zfs/spa_misc.c @@ -1897,6 +1897,7 @@ spa_init(int mode) dmu_init(); zil_init(); vdev_cache_stat_init(); + vdev_mirror_stat_init(); vdev_raidz_math_init(); vdev_file_init(); zfs_prop_init(); @@ -1916,6 +1917,7 @@ spa_fini(void) vdev_file_fini(); vdev_cache_stat_fini(); + vdev_mirror_stat_fini(); vdev_raidz_math_fini(); zil_fini(); dmu_fini(); |