]> git.baikalelectronics.ru Git - kernel.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)
commitcab00096728594fc9f178552b42f85270ed4f080
tree6444b24afcb1c4a15c98de738d912698bab6a93a
parent72c0f67e506e778f1f7cd30560ef2a4539d02bd7
[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