Patchwork [BUG:3091] client-handshake: skip CHILD_DOWN notifications when client is querying port using different volume names in the presence of rdma.

login
register
Submitter Raghavendra G
Date 2011-07-07 07:03:05
Message ID <20110707070305.GA22452@shell.gluster.com>
Download mbox | patch
Permalink /patch/7774/
State Accepted
Headers show

Comments

Raghavendra G - 2011-07-07 07:03:05
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
---
 xlators/protocol/client/src/client-handshake.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c
index 391d551..57781bb 100644
--- a/xlators/protocol/client/src/client-handshake.c
+++ b/xlators/protocol/client/src/client-handshake.c
@@ -1215,8 +1215,10 @@  client_query_portmap (xlator_t *this, struct rpc_clnt *rpc)
                                           remote_subvol);
                                 req.brick = brick_name;
                                 conf->need_different_port = 1;
+                                conf->skip_notify = 1;
                         } else {
                                 conf->need_different_port = 0;
+                                conf->skip_notify = 0;
                         }
                 }
         }