From ce69fb659657a6d7ca9f5b44bab282533e3bfd26 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 2 Jul 2018 10:39:56 +0530 Subject: afr,ec: Print if the subvolume is up in statedump fixes bz#1597156 Change-Id: I323eb9190e40b12df216698dcdba74a6d336beeb Signed-off-by: Pranith Kumar K --- xlators/cluster/afr/src/afr-common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/cluster/afr') diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c index 1e0c1a7b265..e2821f1b295 100644 --- a/xlators/cluster/afr/src/afr-common.c +++ b/xlators/cluster/afr/src/afr-common.c @@ -4904,6 +4904,7 @@ afr_priv_dump (xlator_t *this) gf_proc_dump_write("quorum-type", "fixed"); gf_proc_dump_write("quorum-count", "%d", priv->quorum_count); } + gf_proc_dump_write("up", "%u", afr_has_quorum (priv->child_up, this)); return 0; } -- cgit