diff options
Diffstat (limited to 'xlators/performance/read-ahead/src/read-ahead.c')
| -rw-r--r-- | xlators/performance/read-ahead/src/read-ahead.c | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/performance/read-ahead/src/read-ahead.c b/xlators/performance/read-ahead/src/read-ahead.c index 22a2ae29f50..224edf0864a 100644 --- a/xlators/performance/read-ahead/src/read-ahead.c +++ b/xlators/performance/read-ahead/src/read-ahead.c @@ -1222,6 +1222,14 @@ struct xlator_dumpops dumpops = {  };  struct volume_options options[] = { +    { +        .key = {"read-ahead"}, +        .type = GF_OPTION_TYPE_BOOL, +        .default_value = "off", +        .description = "enable/disable read-ahead", +        .op_version = {GD_OP_VERSION_6_0}, +        .flags = OPT_FLAG_SETTABLE, +    },      {.key = {"force-atime-update"},       .type = GF_OPTION_TYPE_BOOL,       .op_version = {1},  | 
