| Submitter | shishir gowda |
|---|---|
| Date | 2010-11-16 09:22:17 |
| Message ID | <20101116092217.GA32581@dev.gluster.com> |
| Download | mbox | patch |
| Permalink | /patch/5713/ |
| State | Accepted |
| Headers | show |
Comments
Patch
diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index 26aabfe..c56294c 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -1070,13 +1070,14 @@ client_query_portmap_cbk (struct rpc_req *req, struct iovec *iov, int count, voi config.remote_port = rsp.port; rpc_clnt_reconfig (conf->rpc, &config); + conf->skip_notify = 1; out: if (frame) STACK_DESTROY (frame->root); if (conf) { - conf->skip_notify = 1; + rpc_transport_disconnect (conf->rpc->conn.trans); rpc_clnt_reconnect (conf->rpc->conn.trans);
Mount point does not hang, though stale handle error on / till the downed brick is online again Signed-off-by: shishir gowda <shishirng@gluster.com> --- xlators/protocol/client/src/client-handshake.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)