summaryrefslogtreecommitdiffstats
path: root/xlators/performance/write-behind/src/write-behind.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-10-09 02:40:10 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-09 02:00:40 -0700
commit58bc556b84792562ff6cdc60e0e7a48006eb56a9 (patch)
tree29aee1a52cc05cbb99d86d0f02831697ab834d72 /xlators/performance/write-behind/src/write-behind.c
parent72fc9328b1959f2f3e8b24048995cb70a090e0a3 (diff)
performance/write-behind: Add enable-trickling-writes to volume_options.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 276 (write behind needs to be optimized.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=276
Diffstat (limited to 'xlators/performance/write-behind/src/write-behind.c')
-rw-r--r--xlators/performance/write-behind/src/write-behind.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c
index 9d32cf0ade6..4fa23a25fb4 100644
--- a/xlators/performance/write-behind/src/write-behind.c
+++ b/xlators/performance/write-behind/src/write-behind.c
@@ -2557,5 +2557,8 @@ struct volume_options options[] = {
{ .key = {"enable-O_SYNC"},
.type = GF_OPTION_TYPE_BOOL,
},
+ { .key = {"enable-trickling-writes"},
+ .type = GF_OPTION_TYPE_BOOL,
+ },
{ .key = {NULL} },
};