diff options
author | Milind Changire <mchangir@redhat.com> | 2017-09-28 19:26:37 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2017-12-10 23:23:53 +0000 |
commit | 70b6be35dd299b47ce53b0de18386e5a458eb96a (patch) | |
tree | 50c115fcbb1c82020137ede691e69f9d56eb76c7 /xlators/performance | |
parent | 6021331f4095813614d184f67fc6a0c08b8e8837 (diff) |
perf/open-behind: update options for gd2
Updates: #302
Change-Id: I12e5bc6d9e1fcd285299818a7f7e8f1622deefcb
Signed-off-by: Milind Changire <mchangir@redhat.com>
Diffstat (limited to 'xlators/performance')
-rw-r--r-- | xlators/performance/open-behind/src/open-behind.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/performance/open-behind/src/open-behind.c b/xlators/performance/open-behind/src/open-behind.c index d6dcf6fbc58..e5947bd858e 100644 --- a/xlators/performance/open-behind/src/open-behind.c +++ b/xlators/performance/open-behind/src/open-behind.c @@ -1023,12 +1023,20 @@ struct volume_options options[] = { .description = "Perform open in the backend only when a necessary " "FOP arrives (e.g writev on the FD, unlink of the file). When option " "is disabled, perform backend open right after unwinding open().", + .op_version = {3}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_CLIENT_OPT, + .tags = {}, + /* option_validation_fn validate_fn; */ }, { .key = {"read-after-open"}, .type = GF_OPTION_TYPE_BOOL, .default_value = "no", .description = "read is sent only after actual open happens and real " "fd is obtained, instead of doing on anonymous fd (similar to write)", + .op_version = {3}, + .flags = OPT_FLAG_SETTABLE | OPT_FLAG_CLIENT_OPT, + .tags = {}, + /* option_validation_fn validate_fn; */ }, { .key = {NULL} } |