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

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 17 09:28:59 UTC 2014


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

            Bug ID: 1154018
           Summary: Fix race between rdma_disconnect and other dependant
                    operations
           Product: Red Hat Storage
         Component: glusterfs-rdma
          Assignee: rhs-bugs at redhat.com
          Reporter: rtalur at redhat.com
        QA Contact: storage-qa-internal at redhat.com
                CC: aavati at redhat.com, bugs at gluster.org,
                    gluster-bugs at redhat.com, nlevinki at redhat.com,
                    rwheeler at redhat.com
        Depends On: 1154017



+++ This bug was initially created as a clone of Bug #1154017 +++

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.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1154017
[Bug 1154017] Fix race between rdma_disconnect and other dependant
operations
-- 
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=vofquYmJHT&a=cc_unsubscribe


More information about the Bugs mailing list