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 /include | |
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 'include')
-rw-r--r-- | include/sys/spa.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/spa.h b/include/sys/spa.h index f6d2a5a71..d4661f4d3 100644 --- a/include/sys/spa.h +++ b/include/sys/spa.h @@ -1034,6 +1034,10 @@ extern void spa_get_errlists(spa_t *spa, avl_tree_t *last, avl_tree_t *scrub); extern void vdev_cache_stat_init(void); extern void vdev_cache_stat_fini(void); +/* vdev mirror */ +extern void vdev_mirror_stat_init(void); +extern void vdev_mirror_stat_fini(void); + /* Initialization and termination */ extern void spa_init(int flags); extern void spa_fini(void); |