From c3b6df1a8e27c66a5c17cc1d6a92fdc37354ae6f Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Tue, 12 Oct 2010 01:21:51 +0000 Subject: protocol/client: prevent propagation of CHILD_DOWN after pmap query pmap query results in a new port to which the rpc client reconnects. This involves disconnection of current connection to pmap which was propagating CHILD_DOWN upwards prematurely Signed-off-by: Anand V. Avati Signed-off-by: Vijay Bellur BUG: 1756 (NFS must revalidate inode on first ESTALE on lookup) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1756 --- xlators/protocol/client/src/client-handshake.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/protocol/client/src/client-handshake.c') diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index fd9ee0820..3dec49006 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -782,6 +782,7 @@ out: STACK_DESTROY (frame->root); if (conf) { + conf->skip_notify = 1; rpc_transport_disconnect (conf->rpc->conn.trans); rpc_clnt_reconnect (conf->rpc->conn.trans); -- cgit