diff options
author | Mike Christie <michael.christie@oracle.com> | 2021-05-25 13:18:18 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-02 01:28:23 -0400 |
commit | 0c72191da68638a479602dd515b587ada913184a (patch) | |
tree | 8ca74f3199e37cac0b9866bdb4b27aaafe52d039 /drivers/scsi/isci/request.c | |
parent | 2819b4ae2873d50fd55292877b0231ec936c3b2e (diff) |
scsi: qedi: Fix cleanup session block/unblock use
Drivers shouldn't be calling block/unblock session for cmd cleanup because
the functions can change the session state from under libiscsi. This adds
a new a driver level bit so it can block all I/O the host while it drains
the card.
Link: https://lore.kernel.org/r/20210525181821.7617-26-michael.christie@oracle.com
Reviewed-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/isci/request.c')
0 files changed, 0 insertions, 0 deletions