From 551905dd475c6b4c4fa87d7734f018084a755af8 Mon Sep 17 00:00:00 2001 From: Gvozden Neskovic Date: Fri, 4 Aug 2017 12:23:10 +0200 Subject: vdev_mirror: kstat observables for preferred vdev Reviewed-by: Brian Behlendorf Signed-off-by: Gvozden Neskovic Closes #6461 --- include/sys/spa.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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); -- cgit v1.2.3