summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-volume.c
diff options
context:
space:
mode:
authorYi Wang <wangyi@storswift.com>2017-12-14 11:02:55 -0600
committerjiffin tony Thottan <jthottan@redhat.com>2018-01-02 09:50:51 +0000
commit18e2ce7e63cb786856a24847a6baa1d560123d77 (patch)
treef5d06af3a198b6b72987d5e8446cae99b6e59536 /cli/src/cli-cmd-volume.c
parent783720acc625cc40251f27685ac4caec38060ae9 (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) Change-Id: I2b7de0f7aa516b90bb6f3c6aae3aadd23b243900 BUG: 1525850 Signed-off-by: Yi Wang <wangyi@storswift.com>
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
0 files changed, 0 insertions, 0 deletions