summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2009-11-09 08:33:25 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-12 01:10:52 -0800
commitc1bf268b28d5d5959295cf1a22bdb71d0a6a9687 (patch)
treedc45a8c919b06ae8442ba5844eea9971df385d6f /xlators
parentef078a335980b5962239556e9b3a98f589662337 (diff)
Add unhashed-sticky-bit option to volume_options structure
Signed-off-by: Sachidananda <sac@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 365 (unhashed-sticky-bit is not recognized) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=365
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/dht/src/dht.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht.c b/xlators/cluster/dht/src/dht.c
index f49dc495c..75f613a60 100644
--- a/xlators/cluster/dht/src/dht.c
+++ b/xlators/cluster/dht/src/dht.c
@@ -418,5 +418,8 @@ struct volume_options options[] = {
{ .key = {"min-free-disk"},
.type = GF_OPTION_TYPE_PERCENT_OR_SIZET,
},
+ { .key = {"unhashed-sticky-bit"},
+ .type = GF_OPTION_TYPE_BOOL
+ },
{ .key = {NULL} },
};