[PATCH] libata-eh.c should handle AMNF error condition (error byte bit 0, usually code 0x01) in libata-eh.c along with UNC as a media error so SCSI stack can handle it properly (translation code 0x01

2014-07-14 Thread Alexey Asemov
retries, and slows salvaging down a lot. Also, there is handling code in libata-scsi.c for 0x01 AMNF error already. https://bugzilla.kernel.org/show_bug.cgi?id=80031 Signed-off-by: Alexey Asemov --- drivers/ata/libata-eh.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff

Re: [PATCH] libata: handle IDE AMNF errors in the EH path

2014-07-14 Thread Alexey Asemov (Alex/AT)
Tejun Heo wrote at Mon, 14 Jul 2014 20:10:10 +0400: IIRC AMNF has been deprecated for a very long time now. The bit isn't too likely to get reused given that major updates to ATA spec is improbable but I'm still not quite fond of adding handling of a long deprecated flag. Can you please provi

[PATCH] libata: handle IDE AMNF errors in the EH path

2014-07-12 Thread Alexey Asemov
://bugzilla.kernel.org/show_bug.cgi?id=80031 Signed-off-by: Alexey Asemov --- drivers/ata/libata-eh.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 6760fc4..dad83df 100644 --- a/drivers/ata/libata-eh.c +++ b