diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2018-07-02 10:39:56 +0530 |
---|---|---|
committer | Ravishankar N <ravishankar@redhat.com> | 2018-07-03 12:48:56 +0000 |
commit | ce69fb659657a6d7ca9f5b44bab282533e3bfd26 (patch) | |
tree | 7e00b6489769d832add364953c17dc4926d594e8 /xlators/cluster/ec/src/ec.c | |
parent | a585425aad5f07a406da26ba38c59fa0e5ad3036 (diff) |
afr,ec: Print if the subvolume is up in statedump
fixes bz#1597156
Change-Id: I323eb9190e40b12df216698dcdba74a6d336beeb
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec.c')
-rw-r--r-- | xlators/cluster/ec/src/ec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec.c b/xlators/cluster/ec/src/ec.c index 31e9c0ec584..cb995646959 100644 --- a/xlators/cluster/ec/src/ec.c +++ b/xlators/cluster/ec/src/ec.c @@ -1370,6 +1370,7 @@ int32_t ec_dump_private(xlator_t *this) snprintf(key_prefix, GF_DUMP_MAX_BUF_LEN, "%s.%s", this->type, this->name); gf_proc_dump_add_section(key_prefix); + gf_proc_dump_write("up", "%u", ec->up); gf_proc_dump_write("nodes", "%u", ec->nodes); gf_proc_dump_write("redundancy", "%u", ec->redundancy); gf_proc_dump_write("fragment_size", "%u", ec->fragment_size); |