From dd9e406cf48142e7fa0619d17ccf3ecc71ce36ae Mon Sep 17 00:00:00 2001 From: Anuradha Date: Thu, 5 Dec 2013 19:02:10 +0530 Subject: quota : changes in quota list command Changes are made to quota list command such that it also shows whether hard-limit and soft-limit are exceeded or not. A test case to check the same is added. Change-Id: Idb365acfc5d1f2d9f3373dd5f98573d5fe87b50f BUG: 1038598 Signed-off-by: Anuradha Signed-off-by: Anuradha Talur Reviewed-on: http://review.gluster.org/6441 Reviewed-by: Raghavendra G Tested-by: Gluster Build System --- cli/src/cli-cmd-volume.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cli/src/cli-cmd-volume.c') diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 9c29b7f3b7..98e384f2f6 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -1115,9 +1115,11 @@ print_quota_list_header (void) { //Header cli_out (" Path Hard-limit " - "Soft-limit Used Available"); + "Soft-limit Used Available Soft-limit exceeded?" + " Hard-limit exceeded?"); cli_out ("-----------------------------------------------------" - "---------------------------"); + "-----------------------------------------------------" + "-----------------"); } int -- cgit