diff options
author | nik-redhat <nladha@redhat.com> | 2020-09-10 14:55:35 +0530 |
---|---|---|
committer | Rinku Kothiya <rkothiya@redhat.com> | 2020-09-14 19:52:36 +0000 |
commit | b4cc0988d5e9a5bf354dd4c2cb254ce52546facb (patch) | |
tree | d1ca6445761258e1dec8e0af672867dc3f6a0089 /xlators/mgmt/glusterd/src/glusterd-volume-set.c | |
parent | 68db6b60f621d371c4059a7ee728ebb267854708 (diff) |
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 <volname> performance.readdir-ahead enabel/disable
command.
Updates: #1472
Change-Id: Idb3e16e8be98d7a811fc8e5d09906919ef50fbab
Signed-off-by: nik-redhat <nladha@redhat.com>
(cherry picked from commit 84a4cf76219b6187fc625740d1a1ebbe40e9f22c)
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 71e4b2f7b45..1c4572c2857 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1789,7 +1789,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}, |