Skip to contentSkip to conversation

libfc: fixup command abort handling

PATCH Martin K. Petersen 1 participant 1 message Dec 6, 2023 1 message not in the archive SCSI

lore
Share & tools
lore

Martin K. Petersen

author Applied
#1 lore raw
In reply to a message not in the archive

Hannes,

Quoted 7 lines

when testing command timeout with the help of XDP I found that scsi_try_to_abort_cmd() would always return 'SUCCESS' for FCoE, even if no commands could be sent over the wire. Which is not only surprising, but also can lead to data corruption as commands were never aborted. Root cause was that aborts had been sent twice, once from FC error recovery and once from SCSI EH, with the former inducing the latter to assume that the command was already aborted.

Applied to 6.8/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering