[Bugs] [Bug 1154017] New: Fix race between rdma_disconnect and other dependant operations

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 17 09:27:32 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1154017

            Bug ID: 1154017
           Summary: Fix race between rdma_disconnect and other dependant
                    operations
           Product: GlusterFS
           Version: pre-release
         Component: rdma
          Assignee: gluster-bugs at redhat.com
          Reporter: rtalur at redhat.com
                CC: bugs at gluster.org



Description of problem:
rdma_disconnect function takes longer than socket_shutdown,
this has uncovered cases where we run into race between this and other
dependent functions.

Examples below are using gfapi but the implications are equally applicable to
fuse and nfs clients. 


Example:
glfs_fini should wait for child_down event otherwise could lead to a crash
with rdma transport.


How reproducible:
Always

Steps to Reproduce:
1. Use gfapi with rdma transport and connect to a volume
2. Perform some IO
3. Call glfs_fini.

Actual results:
Program using gfapi crashes.

Expected results:
Connection to close successfully without crash.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=g4DHqnU4sq&a=cc_unsubscribe


More information about the Bugs mailing list