From 457ece66327451decd89281d2808f2aa8ba94b60 Mon Sep 17 00:00:00 2001 From: Manikandan Selvaganesh Date: Mon, 13 Jun 2016 15:28:41 +0530 Subject: quota : rectify quota-deem-statfs default settings Backport of http://review.gluster.org/#/c/14708/ When quota is enabled, quota-deem-statfs is on by default. This is not updated in gluster v set help command. With, the patch, the description of deem statfs command is updated. > Change-Id: I75c47c4a0f0eb898b5e32efe7f0a6a558d7f8007 > BUG: 1345846 > Signed-off-by: Manikandan Selvaganesh > Reviewed-on: http://review.gluster.org/14708 > Smoke: Gluster Build System > NetBSD-regression: NetBSD Build System > CentOS-regression: Gluster Build System > Reviewed-by: Raghavendra G Change-Id: I75c47c4a0f0eb898b5e32efe7f0a6a558d7f8007 BUG: 1346134 Signed-off-by: Manikandan Selvaganesh Reviewed-on: http://review.gluster.org/14726 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Raghavendra G --- xlators/features/quota/src/quota.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index 47436fd5783..8b8bdbb556b 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -5284,10 +5284,10 @@ struct volume_options options[] = { {.key = {"limit-set"}}, {.key = {"deem-statfs"}, .type = GF_OPTION_TYPE_BOOL, - .default_value = "off", + .default_value = "on", .description = "If set to on, it takes quota limits into" - "consideration while estimating fs size. (df command)" - " (Default is off)." + " consideration while estimating fs size. (df command)" + " (Default is on)." }, {.key = {"server-quota"}, .type = GF_OPTION_TYPE_BOOL, -- cgit