diff options
author | Jason Yan <[email protected]> | 2023-03-30 19:09:30 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-04-02 21:19:12 -0400 |
commit | 0e4b1791d9b192ac263a03707d876132eb0f8dab (patch) | |
tree | 8d37134414b27188da3f6947ec1442f3afe27877 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 543a827b1db3ef0a123dc7a48e8feb6585eae0a6 (diff) |
scsi: libsas: Abort all in-flight requests when device is gone
When a disk is removed with in-flight I/O, the application needs to wait
for 30 seconds (depending on the timeout configuration) to hear back from
the kernel. Xingui tried to fix this issue by aborting the ATA link for
SATA devices[1], however this approach left the SAS devices unresolved.
Try to fix this issue by aborting all in-flight requests when the device is
gone. This is implemented by iterating over the tagset.
[1] https://lore.kernel.org/lkml/[email protected]/T/
Cc: Xingui Yang <[email protected]>
Cc: John Garry <[email protected]>
Cc: Damien Le Moal <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Signed-off-by: Jason Yan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions