summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-eh.c
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2009-03-24 11:23:19 +0100
committerJeff Garzik <jgarzik@redhat.com>2009-03-25 03:48:26 +0100
commit3d47aa8e7e7b2aa09256590388aa8dddc79280f9 (patch)
tree82f4c85842e5e02489eb0533609dabb865e55198 /drivers/ata/libata-eh.c
parentpata_sc1200: Activate secondary channel (diff)
downloadlinux-3d47aa8e7e7b2aa09256590388aa8dddc79280f9.tar.xz
linux-3d47aa8e7e7b2aa09256590388aa8dddc79280f9.zip
[libata] Drain data on errors
If the device is signalling that there is data to drain after an error we should read the bytes out and throw them away. Without this some devices and controllers get wedged and don't recover. Based on earlier work by Mark Lord Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions