Bug 1146492 - mount hangs for rdma type transport if the network is busy.
Summary: mount hangs for rdma type transport if the network is busy.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: rdma
Version: mainline
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Mohammed Rafi KC
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-25 10:33 UTC by Mohammed Rafi KC
Modified: 2015-05-11 11:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-11 11:07:09 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Mohammed Rafi KC 2014-09-25 10:33:10 UTC
Description of problem:

 rdma transport type mount will hang if there is a delay in network to receive the request. the dump rpc request was rejected by server, so the client can't proceed.

Version-Release number of selected component (if applicable):

3.6

How reproducible:

Some times.

Steps to Reproduce:
1. create rdma type volume

2. Start the volume 

3.issue a mount command directly from cmd using glusterfs binary with proper argument.
 
Actual results:
 
 mount will hang.

Expected results:

Mount should successes. 

Additional info:

Comment 1 Anand Avati 2014-09-25 10:37:14 UTC
REVIEW: http://review.gluster.org/8850 (rdma: mount hangs for rdma type transport.) posted (#1) for review on master by mohammed rafi  kc (rkavunga)

Comment 2 Anand Avati 2014-09-25 12:09:57 UTC
REVIEW: http://review.gluster.org/8850 (rdma: mount hangs for rdma type transport.) posted (#2) for review on master by mohammed rafi  kc (rkavunga)

Comment 3 Anand Avati 2014-09-25 14:09:52 UTC
REVIEW: http://review.gluster.org/8850 (rdma: mount hangs for rdma type transport.) posted (#3) for review on master by mohammed rafi  kc (rkavunga)

Comment 4 Anand Avati 2014-09-25 14:19:35 UTC
REVIEW: http://review.gluster.org/8850 (rdma: mount hangs for rdma type transport.) posted (#4) for review on master by mohammed rafi  kc (rkavunga)

Comment 5 Anand Avati 2014-09-26 07:49:33 UTC
REVIEW: http://review.gluster.org/8850 (rdma: mount hangs for rdma type transport.) posted (#5) for review on master by Humble Devassy Chirammal (humble.devassy)

Comment 6 Anand Avati 2014-10-08 08:44:45 UTC
COMMIT: http://review.gluster.org/8850 committed in master by Raghavendra G (rgowdapp) 
------
commit 678e91718c41b29046df7b9a019e4e9f7550efcb
Author: Mohammed Rafi KC <rkavunga>
Date:   Thu Sep 25 15:36:30 2014 +0530

    rdma: mount hangs for rdma type transport.
    
    rdma transport type mount will hang if there is a delay
    in network to receive,we will set transport as connected
    if we get an event type RDMA_CM_EVENT_ESTABLISHED,
    we cannot assure whether client or server will get the
    event first, the only condition is that the side which
    sends the first request should wait for the event.
    If client gets the event first, then it sends DUMP request,
    in server side the request will reach, but it will reject
    the rpc request since it didn't get the RDMA_CM_EVENT_ESTABLISHED.
    So in server we will set the connected flag as soon
    as rdma_accept is called.
    
    Change-Id: Iac5845e3592666daa575c727822889779b5bd203
    BUG: 1146492
    Signed-off-by: Mohammed Rafi KC <rkavunga>
    Reviewed-on: http://review.gluster.org/8850
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>
    Tested-by: Raghavendra G <rgowdapp>

Comment 7 Mohammed Rafi KC 2015-05-11 11:07:09 UTC
fixed from glusterfs-3.6.2 onwards.


Note You need to log in before you can comment on or make changes to this bug.