Messages in this thread | | | Date | Tue, 24 Mar 2009 22:48:56 -0400 | From | Jeff Garzik <> | Subject | Re: [PATCH 3/4] libata: Drain data on errors |
| |
Alan Cox wrote: > From: Alan Cox <alan@redhat.com> > > 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> > --- > > drivers/ata/libata-sff.c | 45 +++++++++++++++++++++++++++++++++++++++++++-- > drivers/ata/pata_pcmcia.c | 34 +++++++++++++++++++++++++++++++++- > include/linux/libata.h | 3 +++ > 3 files changed, 79 insertions(+), 3 deletions(-)
applied
| |