linux/drivers/infiniband
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
..
core IB/device: Convert ib-comp-wq to be CPU-bound 2017-03-24 22:24:04 -04:00
hw RDMA/ocrdma: fix a type issue in ocrdma_put_pd_num() 2017-03-24 21:11:15 -04:00
sw IB/rxe: increment msn only when completing a request 2017-03-24 22:07:27 -04:00
ulp RDMA/iser: Fix possible mr leak on device removal event 2017-03-24 22:31:19 -04:00
Kconfig RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00