]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] libsas: fix NCQ mixing with non-NCQ
authorDavid Milburn <dmilburn@redhat.com>
Fri, 3 Sep 2010 22:13:03 +0000 (17:13 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 7 Oct 2010 22:06:03 +0000 (17:06 -0500)
commitf0ad30d3d2dc924decc0e10b1ff6dc32525a5d99
tree6444b24afcb1c4a15c98de738d912698bab6a93a
parent045d3fe766b01921e24e2d4178e011b3b09ad4d6
[SCSI] libsas: fix NCQ mixing with non-NCQ

Some cards (like mvsas) have issue troubles if non-NCQ commands are
mixed with NCQ ones.  Fix this by using the libata default NCQ check
routine which waits until all NCQ commands are complete before issuing
a non-NCQ one.  The impact to cards (like aic94xx) which don't need
this logic should be minimal

Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libsas/sas_ata.c