Patchwork [BRANCH:release-3.1,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:04:46
Message ID <20110707070446.GA22484@shell.gluster.com>
Download mbox | patch
Permalink /patch/7773/
State Accepted
Headers show

Comments

Raghavendra G - 2011-07-07 07:04:46
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 71c5883..394ff78 100644
--- a/xlators/protocol/client/src/client-handshake.c
+++ b/xlators/protocol/client/src/client-handshake.c
@@ -1145,8 +1145,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;
                         }
                 }
         }