mbox series

[0/2] libata NCQ error handling fix and improvement

Message ID 20221111110921.1273193-1-niklas.cassel@wdc.com
Headers show
Series libata NCQ error handling fix and improvement | expand

Message

Niklas Cassel Nov. 11, 2022, 11:09 a.m. UTC
Hello there,

The first patch fixes an error where non-offending commands during an
NCQ error might not get retried.

The second patch skips the error analysis for non-offending commands
during an NCQ error completely. The command that caused the NCQ command
will still get further analysis, so this single QC will still inherit
link level errors, if e.g. SError signaled a BUS error at the same time
as the IRQ signaled a NCQ error.


Kind regards,
Niklas

Niklas Cassel (2):
  ata: libata: only mark a single command as error during a NCQ error
  ata: libata: skip error analysis for commands that are not errors

 drivers/ata/libata-eh.c   |  1 +
 drivers/ata/libata-sata.c | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)