Skip to content
Snippets Groups Projects
Commit 3d47aa8e authored by Alan Cox's avatar Alan Cox Committed by Jeff Garzik
Browse files

[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: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent c0f2ee34
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment