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)
commitf3718231203a165dbfd5c5bd0d9a6db522bb73e3
treec735b0a665da9a523a0e3de577440b758efbce8c
parent09be70a238005cc33f2a52b0aeae52f117e81582
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