summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorYi Wang <wangyi@storswift.com>2017-12-14 11:08:26 -0600
committerShyamsundar Ranganathan <srangana@redhat.com>2017-12-20 14:09:39 +0000
commitc9169fb2462d88aa51c9615b96e2767fccefd54e (patch)
tree00b765ea81da415e85418aac67a9d6a3bac91ae9 /xlators
parent0ca374178e95baaa9dbfc516263520e9a5526464 (diff)
rpc-transport/rdma: Add a mutex for the list of RDMA Memory Region(MR) access
Problem: gf_rdma_device_t->all_mr is a __gf_rdma_arena_mr(includes MR content) kind of list in the rdma rpc-transport. The rdma rpc-transport will add/delete items to the list 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. Solution: Add a mutex protection for the gf_rdma_device_t->all_mr. > Change-Id: I2b7de0f7aa516b90bb6f3c6aae3aadd23b243900 > BUG: 1522651 > Signed-off-by: Yi Wang <wangyi@storswift.com> (cherry picked from commit 8483ed87165c1695b513e223549d33d2d63891d9) Signed-off-by: Yi Wang <wangyi@storswift.com> Change-Id: I2b7de0f7aa516b90bb6f3c6aae3aadd23b243900 BUG: 1527699
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions