linux/drivers/infiniband/ulp/iser
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
..
iscsi_iser.c This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
iscsi_iser.h RDMA/iser: Fix possible mr leak on device removal event 2017-03-24 22:31:19 -04:00
iser_initiator.c IB/iser: Use ib_drain_sq() 2016-02-29 17:10:27 -05:00
iser_memory.c IB/iser: use IB_PD_UNSAFE_GLOBAL_RKEY 2016-09-23 13:47:44 -04:00
iser_verbs.c RDMA/iser: Fix possible mr leak on device removal event 2017-03-24 22:31:19 -04:00
Kconfig
Makefile