sata_mv: Prevent PIO commands to be defered too long if traffic in progress.
authorGwendal Grignou <gwendal@google.com>
Mon, 12 Oct 2009 22:44:00 +0000 (15:44 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 16 Oct 2009 10:22:46 +0000 (06:22 -0400)
commit159a7ff7a13f9a02c75006f40c0561a3a81aefcd
tree54171cdbd746ea9d5a2efaa87639b14b54dc5034
parent6d4f950e9ea15816c6a4f266ce6b9e438346771e
sata_mv: Prevent PIO commands to be defered too long if traffic in progress.

Use excl_link when non NCQ commands are defered, to be sure they are processed
as soon as outstanding commands are completed. It prevents some commands to be
defered indifinitely when using a port multiplier.

Signed-off-by: Gwendal Grignou <gwendal@google.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c