From 70b6be35dd299b47ce53b0de18386e5a458eb96a Mon Sep 17 00:00:00 2001 From: Milind Changire Date: Thu, 28 Sep 2017 19:26:37 +0530 Subject: perf/open-behind: update options for gd2 Updates: #302 Change-Id: I12e5bc6d9e1fcd285299818a7f7e8f1622deefcb Signed-off-by: Milind Changire --- xlators/performance/open-behind/src/open-behind.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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} } -- cgit