From 2915e10dd0ffe529ddf747451051cf9924c708f3 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Wed, 22 Sep 2010 05:21:28 +0000 Subject: Restart all bricks which are down when glusterd comes up This is only done is the volume is started. Signed-off-by: shishir gowda Signed-off-by: Vijay Bellur BUG: 1562 (insufficient consistency check on start of glusterd) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1562 --- xlators/mgmt/glusterd/src/glusterd-pmap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-pmap.h') diff --git a/xlators/mgmt/glusterd/src/glusterd-pmap.h b/xlators/mgmt/glusterd/src/glusterd-pmap.h index a021da030..fcad50db8 100644 --- a/xlators/mgmt/glusterd/src/glusterd-pmap.h +++ b/xlators/mgmt/glusterd/src/glusterd-pmap.h @@ -55,5 +55,7 @@ int pmap_registry_bind (xlator_t *this, int port, const char *brickname, gf_pmap_port_type_t type, void *xprt); int pmap_registry_remove (xlator_t *this, int port, const char *brickname, gf_pmap_port_type_t type, void *xprt); - +int +pmap_registry_search (xlator_t *this, const char *brickname, + gf_pmap_port_type_t type); #endif -- cgit