From 67d8b620186807f38277713930da2a1d1926d6d0 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 26 Aug 2010 09:09:59 +0000 Subject: glusterd-pmap: trigger signout by RPC_DISCONNECT event Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 1314 (portmapper functionality) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1314 --- xlators/mgmt/glusterd/src/glusterd-pmap.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (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 4bc4536f8..6db616c39 100644 --- a/xlators/mgmt/glusterd/src/glusterd-pmap.h +++ b/xlators/mgmt/glusterd/src/glusterd-pmap.h @@ -41,6 +41,7 @@ struct pmap_port_status { int used; char *brickname; + void *xprt; }; struct pmap_registry { @@ -50,7 +51,9 @@ struct pmap_registry { }; int pmap_registry_alloc (xlator_t *this); -int pmap_registry_bind (xlator_t *this, int port, const char *brickname); -int pmap_registry_remove (xlator_t *this, int port, const char *brickname); +int pmap_registry_bind (xlator_t *this, int port, const char *brickname, + void *xprt); +int pmap_registry_remove (xlator_t *this, int port, const char *brickname, + void *xprt); #endif -- cgit