diff options
author | Gaurav Kumar Garg <ggarg@redhat.com> | 2015-04-09 15:36:20 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2015-05-04 01:56:58 -0700 |
commit | da1416051d19d612d131acfde8589bc8658979b5 (patch) | |
tree | e4ffdeba3420fa794a5a4a2543955a25af2c2559 /rpc | |
parent | 7759748915485d6c740a7fed831376f298eb90bb (diff) |
glusterd: gluster volume status should show status of bitrot and scrubber daemon
Command gluster volume status <VOLNAME> should show the status of bitrot
and scrubber daemon and its pid information.
Along with displaying bitrot and scrubber daemon information in gluster
volume status command there should be command to show its individual status
separately.
Command to show individual status of bitrot and scrubber daemon will
following.
command to show only bitd daemon information will be
gluster volume status <VOLNAME> bitd
command to show only scrubber daemon information
gluster volume status <VOLNAME> scrub
Change-Id: Id86aae1156c8c599347c98e2a538f294d37376e4
BUG: 1209752
Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com>
Reviewed-on: http://review.gluster.org/10175
Reviewed-by: Kaushal M <kaushal@redhat.com>
Tested-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/xdr/src/cli1-xdr.x | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x index dabe14af2f5..dbc2fa52494 100644 --- a/rpc/xdr/src/cli1-xdr.x +++ b/rpc/xdr/src/cli1-xdr.x @@ -146,22 +146,24 @@ enum gf1_cli_top_op { /* The unconventional hex numbers help us perform bit-wise operations which reduces complexity */ enum gf_cli_status_type { - GF_CLI_STATUS_NONE = 0x0000, - GF_CLI_STATUS_MEM = 0x0001, /*00000000000001*/ - GF_CLI_STATUS_CLIENTS = 0x0002, /*00000000000010*/ - GF_CLI_STATUS_INODE = 0x0004, /*00000000000100*/ - GF_CLI_STATUS_FD = 0x0008, /*00000000001000*/ - GF_CLI_STATUS_CALLPOOL = 0x0010, /*00000000010000*/ - GF_CLI_STATUS_DETAIL = 0x0020, /*00000000100000*/ - GF_CLI_STATUS_TASKS = 0x0040, /*0000001000000*/ - GF_CLI_STATUS_MASK = 0x00FF, /*00000011111111 Used to get the op*/ - GF_CLI_STATUS_VOL = 0x0100, /*00000100000000*/ - GF_CLI_STATUS_ALL = 0x0200, /*00001000000000*/ - GF_CLI_STATUS_BRICK = 0x0400, /*00010000000000*/ - GF_CLI_STATUS_NFS = 0x0800, /*00100000000000*/ - GF_CLI_STATUS_SHD = 0x1000, /*01000000000000*/ - GF_CLI_STATUS_QUOTAD = 0x2000, /*10000000000000*/ - GF_CLI_STATUS_SNAPD = 0x4000 /*100000000000000*/ + GF_CLI_STATUS_NONE = 0x000000, + GF_CLI_STATUS_MEM = 0x000001, /*000000000000001*/ + GF_CLI_STATUS_CLIENTS = 0x000002, /*000000000000010*/ + GF_CLI_STATUS_INODE = 0x000004, /*000000000000100*/ + GF_CLI_STATUS_FD = 0x000008, /*000000000001000*/ + GF_CLI_STATUS_CALLPOOL = 0x000010, /*000000000010000*/ + GF_CLI_STATUS_DETAIL = 0x000020, /*000000000100000*/ + GF_CLI_STATUS_TASKS = 0x000040, /*00000001000000*/ + GF_CLI_STATUS_MASK = 0x0000FF, /*000000011111111 Used to get the op*/ + GF_CLI_STATUS_VOL = 0x000100, /*00000000100000000*/ + GF_CLI_STATUS_ALL = 0x000200, /*00000001000000000*/ + GF_CLI_STATUS_BRICK = 0x000400, /*00000010000000000*/ + GF_CLI_STATUS_NFS = 0x000800, /*00000100000000000*/ + GF_CLI_STATUS_SHD = 0x001000, /*00001000000000000*/ + GF_CLI_STATUS_QUOTAD = 0x002000, /*00010000000000000*/ + GF_CLI_STATUS_SNAPD = 0x004000, /*00100000000000000*/ + GF_CLI_STATUS_BITD = 0x008000, /*01000000000000000*/ + GF_CLI_STATUS_SCRUB = 0x010000 /*10000000000000000*/ }; /* Identifiers for snapshot clis */ |