diff options
Diffstat (limited to 'xlators/performance/read-ahead/src/read-ahead.c')
| -rw-r--r-- | xlators/performance/read-ahead/src/read-ahead.c | 14 | 
1 files changed, 14 insertions, 0 deletions
diff --git a/xlators/performance/read-ahead/src/read-ahead.c b/xlators/performance/read-ahead/src/read-ahead.c index 66be002bc37..22a2ae29f50 100644 --- a/xlators/performance/read-ahead/src/read-ahead.c +++ b/xlators/performance/read-ahead/src/read-ahead.c @@ -1253,3 +1253,17 @@ struct volume_options options[] = {       .description = "Enable/Disable read ahead translator"},      {.key = {NULL}},  }; + +xlator_api_t xlator_api = { +    .init = init, +    .fini = fini, +    .reconfigure = reconfigure, +    .mem_acct_init = mem_acct_init, +    .op_version = {1}, /* Present from the initial version */ +    .dumpops = &dumpops, +    .fops = &fops, +    .cbks = &cbks, +    .options = options, +    .identifier = "read-ahead", +    .category = GF_MAINTAINED, +};  | 
