diff options
author | Amar Tumballi <amar@gluster.com> | 2009-11-25 21:26:24 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-26 03:04:26 -0800 |
commit | fc87b19f0bd511ee294c058ea9066189ca06ce88 (patch) | |
tree | da5fc99a43c28712a43858a0f744c131b46e9e4d /xlators/cluster/dht/src/dht-common.h | |
parent | 057c071403eb808b065e760d91101d519f86b65c (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.h | 2 |
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 0666e0ea612..bdaf7b084d1 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; |