]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srpt: Log out all initiators if a port is disabled
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 11 Feb 2016 19:09:28 +0000 (11:09 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 29 Feb 2016 22:12:36 +0000 (17:12 -0500)
commit7a8182c41558a1b9f9885ce3f4add6213d23a089
tree52582ec631db449f938305f97daaf77ac960ea9d
parent46a55d738c85a84e0286cd0c149f7ef3541dd237
IB/srpt: Log out all initiators if a port is disabled

If an initiator observes LUN deletion during shutdown of the
target stack then that will trigger an I/O error even when using
multipathd. Users need a way to avoid that shutting down the
target stack causes I/O errors, e.g. by providing a way to force
initiator logout. Hence close all sessions if a target port is
disabled.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Estrin <alex.estrin@intel.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srpt/ib_srpt.c