aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorMikael Pettersson <[email protected]>2010-01-09 22:32:06 +0000
committerJeff Garzik <[email protected]>2010-01-12 19:33:07 +0000
commita2342f46437cde56803a36fdf94da635a74ad41c (patch)
tree6cec79d175ca40743087a6f39a613d564a0cda10 /net/lapb/lapb_in.c
parentRevert "x86, apic: Use logical flat on intel with <= 8 logical cpus" (diff)
downloadkernel-a2342f46437cde56803a36fdf94da635a74ad41c.tar.gz
kernel-a2342f46437cde56803a36fdf94da635a74ad41c.zip
sata_promise: don't classify overruns as HSM errors
When sata_promise encounters an overrun or underrun error it translates that to a libata AC_ERR_HSM, causing a hard reset. Since over/under-runs were thought to be rare and transient, this action seemed reasonable. Unfortunately it turns out that the controller throws overrun errors when e.g. hal polls a CD or DVD writer containing blank media, causing long sequences of hard resets and retries before EH finally gives up. This patch updates sata_promise to classify over/under-runs as AC_ERR_OTHER instead. This allows libata EH and upper layers to retry or fail the operation as they see fit without the disruption caused by repeated hard resets. This fixes a problem using a DVD-RAM drive with sata_promise, reported by Thomas Schorpp. I also tested it on a DVD-RW drive. Signed-off-by: Mikael Pettersson <[email protected]> Tested-by: thomas schorpp <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions