diff options
author | Sreekanth Reddy <sreekanth.reddy@broadcom.com> | 2022-02-10 15:28:13 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-02-11 17:40:03 -0500 |
commit | b3911ab3a76e216cd97c6fdc05132e57c3e6941c (patch) | |
tree | e36d4488db8790996963eec5d24167dd7a1dd9af /drivers/scsi/mpi3mr/mpi3mr_debug.h | |
parent | 191a3ef586344acc35ba5619d6225858250aaee5 (diff) | |
download | linux-b3911ab3a76e216cd97c6fdc05132e57c3e6941c.tar.gz linux-b3911ab3a76e216cd97c6fdc05132e57c3e6941c.tar.bz2 linux-b3911ab3a76e216cd97c6fdc05132e57c3e6941c.zip |
scsi: mpi3mr: Fix cmnd getting marked as in use forever
When a driver command which requires the driver to issue a follow up
command using the same command frame is outstanding and a soft reset
operation occurs, then that driver command frame is getting marked as in
use permanently and won't be reused again.
Clear the driver command frames while flushing out the outstanding commands
and avoid issuing any new requests using these command frames while soft
reset is going on.
Link: https://lore.kernel.org/r/20220210095817.22828-6-sreekanth.reddy@broadcom.com
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpi3mr/mpi3mr_debug.h')
0 files changed, 0 insertions, 0 deletions