Bug 1154017 - Fix race between rdma_disconnect and other dependant operations
Summary: Fix race between rdma_disconnect and other dependant operations
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: rdma
Version: pre-release
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1154018
TreeView+ depends on / blocked
 
Reported: 2014-10-17 09:27 UTC by Raghavendra Talur
Modified: 2015-10-22 15:40 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
: 1154018 (view as bug list)
Environment:
Last Closed: 2015-10-22 15:40:20 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Raghavendra Talur 2014-10-17 09:27:32 UTC
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.

Comment 1 Kaleb KEITHLEY 2015-10-22 15:40:20 UTC
pre-release version is ambiguous and about to be removed as a choice.

If you believe this is still a bug, please change the status back to NEW and choose the appropriate, applicable version for it.


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