diff options
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index 7d1835236fe..c408f12c10d 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -11028,22 +11028,6 @@ glusterd_enable_default_options (glusterd_volinfo_t *volinfo, char *option) * } * */ - /* readdir-ahead needs to be enabled for new volumes with - * >= gluster version 3.7 - */ - if (!option || !strcmp ("performance.readdir-ahead", option)) { - ret = dict_set_dynstr_with_alloc (volinfo->dict, - "performance.readdir-ahead", "on"); - if (ret) { - gf_msg (this->name, GF_LOG_ERROR, errno, - GD_MSG_DICT_SET_FAILED, - "Failed to set option " - "'performance.readdir-ahead' on volume " - "%s", volinfo->volname); - goto out; - } - } - /* Option 'features.quota-deem-statfs' should not be turned off * with 'gluster volume reset <VOLNAME>', since quota features * can be reset only with 'gluster volume quota <VOLNAME> |