aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/cxlflash/common.h
diff options
context:
space:
mode:
authorUma Krishnan2017-06-21 21:15:06 -0500
committerMartin K. Petersen2017-06-26 15:01:10 -0400
commit7c4c41f172b6d5dda1119ce5f59151bef732a058 (patch)
tree3ea53769f910fbf274c1b3ea63d33a5087c068e6 /drivers/scsi/cxlflash/common.h
parenta1ea04b3ebd9ae5c1cd5bf48be37aba0d93c1acc (diff)
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/common.h')
0 files changed, 0 insertions, 0 deletions