From e879ff1d4a3a0d795da2575406414eaeb28975f4 Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Tue, 3 Dec 2019 15:28:13 +0200 Subject: 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 --- xlators/performance/md-cache/src/md-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/performance') 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)", -- cgit