summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-11-25 21:26:24 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-26 03:04:26 -0800
commitfc87b19f0bd511ee294c058ea9066189ca06ce88 (patch)
treeda5fc99a43c28712a43858a0f744c131b46e9e4d /xlators/cluster/dht/src/dht-common.h
parent057c071403eb808b065e760d91101d519f86b65c (diff)
switch translator added
switch translator is a wrapper around distribute to work for a pattern based scheduling. Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 409 (implement a switch scheduler) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=409
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r--xlators/cluster/dht/src/dht-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h
index 0666e0ea6..bdaf7b084 100644
--- a/xlators/cluster/dht/src/dht-common.h
+++ b/xlators/cluster/dht/src/dht-common.h
@@ -131,6 +131,8 @@ struct dht_conf {
gf_boolean_t unhashed_sticky_bit;
struct timeval last_stat_fetch;
gf_lock_t layout_lock;
+ void *private; /* Can be used by wrapper xlators over
+ dht */
};
typedef struct dht_conf dht_conf_t;