]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Keep processing commands during host removal
authorBart Van Assche <bvanassche@acm.org>
Thu, 19 Apr 2012 14:42:54 +0000 (14:42 +0000)
committerRoland Dreier <roland@purestorage.com>
Sat, 1 Dec 2012 01:40:30 +0000 (17:40 -0800)
commit05a53361e8948d8faf6c0c71dd881fab48ffcb08
treec735b0a665da9a523a0e3de577440b758efbce8c
parent2b29bd1cd706fc47d5b47f236092e83b3c0df6d9
IB/srp: Keep processing commands during host removal

Some SCSI upper layer drivers, e.g. sd, issue SCSI commands from
inside scsi_remove_host() (see the sd_shutdown() call in sd_remove()).
Make sure that these commands have a chance to reach the SCSI device.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/srp/ib_srp.c