OpenCloudOS-Kernel/drivers/infiniband/ulp
Sagi Grimberg ea174c9573 RDMA/iser: Fix possible mr leak on device removal event
When the rdma device is removed, we must cleanup all
the rdma resources within the DEVICE_REMOVAL event
handler to let the device teardown gracefully. When
this happens with live I/O, some memory regions are
occupied. Thus, track them too and dereg all the mr's.

We are safe with mr access by iscsi_iser_cleanup_task.

Reported-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-03-24 22:31:19 -04:00
..
ipoib sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
iser RDMA/iser: Fix possible mr leak on device removal event 2017-03-24 22:31:19 -04:00
isert IB/isert: fix spelling mistake: "teminating" -> "terminating" 2017-01-24 16:20:37 -05:00
srp This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
srpt This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00