https://github.com/torvalds/linux
Revision ea174c9573b0e0c8bc1a7a90fe9360ccb7aa9cbb authored by Sagi Grimberg on 27 February 2017, 18:16:33 UTC, committed by Doug Ledford on 25 March 2017, 02:31:19 UTC
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>
1 parent b7363e6
History
Tip revision: ea174c9573b0e0c8bc1a7a90fe9360ccb7aa9cbb authored by Sagi Grimberg on 27 February 2017, 18:16:33 UTC
RDMA/iser: Fix possible mr leak on device removal event
Tip revision: ea174c9
File Mode Size
kvm
lib
Makefile -rw-r--r-- 14 bytes

back to top