diff options
| author | Anand Avati <avati@gluster.com> | 2010-10-11 07:30:55 +0000 | 
|---|---|---|
| committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-10-11 07:31:43 -0700 | 
| commit | d6978803395fb1d1635dd454894e26d9feb806d9 (patch) | |
| tree | 11cb9d9bc006f7331ec80dbf890fc9edfbf1a9a6 /xlators/cluster/dht/src/dht-common.h | |
| parent | 4868116c1ca08868abe69c271dc108f1d0b5a227 (diff) | |
dht: change behaviour CHILD_UP/DOWN/CONNECTING event propagation
The first CHILD_UP/DOWN/CONNECTING event to pass dht upwards should be only after
all subvols have reported their status atleast once.
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1643 (Initial requests after mount ESTALE if DHT subvolumes connect after nfs startup)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1643
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
| -rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 32e5cf566e8..f0510f868f3 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -144,6 +144,7 @@ struct dht_conf {          int            subvolume_cnt;          xlator_t     **subvolumes;  	char          *subvolume_status; +        int           *last_event;  	dht_layout_t **file_layouts;  	dht_layout_t **dir_layouts;  	dht_layout_t  *default_dir_layout;  | 
