From 48acd4b35c860589d43e7cce7a80b5a023fd9f21 Mon Sep 17 00:00:00 2001 From: John Spray Date: Thu, 26 May 2016 14:13:26 +0100 Subject: [PATCH] client: enable client_quota by default It was awkward that our default behaviour was to let people set the quota vxattrs but then not enforce them. Signed-off-by: John Spray --- src/common/config_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 1c6fc60ccdee..ea1d8d725c03 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -382,7 +382,7 @@ OPTION(client_mount_gid, OPT_INT, -1) OPTION(client_notify_timeout, OPT_INT, 10) // in seconds OPTION(osd_client_watch_timeout, OPT_INT, 30) // in seconds OPTION(client_caps_release_delay, OPT_INT, 5) // in seconds -OPTION(client_quota, OPT_BOOL, false) +OPTION(client_quota, OPT_BOOL, true) OPTION(client_quota_df, OPT_BOOL, true) // use quota for df on subdir mounts OPTION(client_oc, OPT_BOOL, true) OPTION(client_oc_size, OPT_INT, 1024*1024* 200) // MB * n -- 2.47.3