From 8dddda654a60ed66792212b413fde113f4cf951f 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/ > 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: 1346184 Signed-off-by: Manikandan Selvaganesh Reviewed-on: http://review.gluster.org/14727 NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Smoke: 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 1d32e1b06fe..ef6d1f4408a 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -5286,10 +5286,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