From fc87b19f0bd511ee294c058ea9066189ca06ce88 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 25 Nov 2009 21:26:24 +0000 Subject: switch translator added switch translator is a wrapper around distribute to work for a pattern based scheduling. Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 409 (implement a switch scheduler) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=409 --- xlators/cluster/dht/src/dht-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/cluster/dht/src/dht-common.h') 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; -- cgit