diff options
author | Uma Krishnan <ukrishn@linux.vnet.ibm.com> | 2017-06-22 04:15:06 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-26 21:01:10 +0200 |
commit | 7c4c41f172b6d5dda1119ce5f59151bef732a058 (patch) | |
tree | 3ea53769f910fbf274c1b3ea63d33a5087c068e6 /drivers/scsi/cxlflash/main.h | |
parent | scsi: cxlflash: Flush pending commands in cleanup path (diff) | |
download | linux-7c4c41f172b6d5dda1119ce5f59151bef732a058.tar.xz linux-7c4c41f172b6d5dda1119ce5f59151bef732a058.zip |
scsi: cxlflash: Add scsi command abort handler
To date, CXL flash devices do not support a single command abort operation.
Instead, the SISLite specification provides a context reset operation to
cleanup all pending commands for a given context.
When a context reset is successful, it is guaranteed that the AFU has
aborted all currently pending I/O. This sequence is less invasive than a
device or host reset and can be executed to support scsi command abort
requests. Add eh_abort_handler callback support to process command timeouts
and abort requests.
Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/cxlflash/main.h')
0 files changed, 0 insertions, 0 deletions