[Bugs] [Bug 1527699] New: rdma transport may access an obsolete item in gf_rdma_device_t->all_mr, and causes glusterfsd/glusterfs process crash.
bugzilla at redhat.com
bugzilla at redhat.com
Tue Dec 19 23:56:47 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1527699
Bug ID: 1527699
Summary: rdma transport may access an obsolete item in
gf_rdma_device_t->all_mr, and causes
glusterfsd/glusterfs process crash.
Product: GlusterFS
Version: 3.13
Component: rdma
Keywords: Bugfix
Severity: urgent
Assignee: bugs at gluster.org
Reporter: srangana at redhat.com
CC: bugs at gluster.org, rkavunga at redhat.com,
wangyi at storswift.com
Depends On: 1522651
+++ This bug was initially created as a clone of Bug #1522651 +++
Description of problem:
In the rdma.c file, gf_rdma_device_t->all_mr is a
__gf_rdma_arena_mr(include RDMA Memory Region(MR) content) kind of list in the
rdma rpc-transport.
The rdma rpc-transport will add/delete items to the
gf_rdma_device_t->all_mr when MRs register, deregister, and free.
Because gf_rdma_device_t->all_mr is used by different threads and it is
not mutex protected, rdma transport maybe access obsolete items in it.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
At a heavy condition, the items in the gf_rdma_device_t->all_mr should
be released by threads. As a result, glusterfsd/glusterfs process will crash.
Expected results:
gf_rdma_device_t->all_mr must be mutex protected.
Additional info:
None
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1522651
[Bug 1522651] rdma transport may access an obsolete item in
gf_rdma_device_t->all_mr, and causes glusterfsd/glusterfs process crash.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list