summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2019-12-03 15:28:13 +0200
committerAmar Tumballi <amarts@gmail.com>2019-12-20 12:30:39 +0000
commite879ff1d4a3a0d795da2575406414eaeb28975f4 (patch)
treefae341ee93de93aec931cb87065614950659cb9f /xlators
parentda735ad9b58b76d27c580a9feb63f14b2cc0669d (diff)
md-cache.c: move cache-swift-metadata to off by default
This causes mdc_xattr_list_populate() NOT to add "user.swift.metadata" as an xattr in the list of attrs we look at in some paths of the code. This is documented @ https://github.com/gluster/glusterfs/issues/775 Change-Id: Ie3d676c74a2f333beeacc302e253efe9f9942d1a updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/performance/md-cache/src/md-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index e3b44c5de7d..4c76f3089d5 100644
--- a/xlators/performance/md-cache/src/md-cache.c
+++ b/xlators/performance/md-cache/src/md-cache.c
@@ -3815,7 +3815,7 @@ struct volume_options mdc_options[] = {
{
.key = {"cache-swift-metadata"},
.type = GF_OPTION_TYPE_BOOL,
- .default_value = "true",
+ .default_value = "false",
.op_version = {GD_OP_VERSION_3_7_10},
.flags = OPT_FLAG_SETTABLE | OPT_FLAG_CLIENT_OPT | OPT_FLAG_DOC,
.description = "Cache swift metadata (user.swift.metadata xattr)",