From 84a4cf76219b6187fc625740d1a1ebbe40e9f22c Mon Sep 17 00:00:00 2001 From: nik-redhat Date: Thu, 10 Sep 2020 14:55:35 +0530 Subject: glusterd: readdir-ahead off by default Changing the default value of readdir-ahead to off, but it can be enabled/disabled later on if with gluster vol set performance.readdir-ahead enabel/disable command. Fixes: #1472 Change-Id: Idb3e16e8be98d7a811fc8e5d09906919ef50fbab Signed-off-by: nik-redhat --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 3ac8e2a29d7..f74876eec9f 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1813,7 +1813,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { {.key = "performance.readdir-ahead", .voltype = "performance/readdir-ahead", .option = "!perf", - .value = "on", + .value = "off", .op_version = 3, .description = "enable/disable readdir-ahead translator in the volume.", .flags = VOLOPT_FLAG_CLIENT_OPT | VOLOPT_FLAG_XLATOR_OPT}, -- cgit