]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
aic7xxx: Fix queue depth handling
authorAlan <gnomes@lxorguk.ukuu.org.uk>
Mon, 15 Feb 2016 18:53:15 +0000 (18:53 +0000)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:46:07 +0000 (15:46 -0700)
Orabug: 23331064

[ Upstream commit 5a51a7abca133860a6f4429655a9eda3c4afde32 ]

We were setting the queue depth correctly, then setting it back to
two. If you hit this as a bisection point then please send me an email
as it would imply we've been hiding other bugs with this one.

Cc: <stable@vger.kernel.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
(cherry picked from commit cf438ddac48b27e7de0514f96d912e132c908df4)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/scsi/aic7xxx/aic7xxx_osm.c

index a2f2c774cd6b75f5874d71b5970a739a6923abaa..82529f9830f3b88b5b42d5d673ffbe266c058f72 100644 (file)
@@ -1337,6 +1337,7 @@ ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev,
        case AHC_DEV_Q_TAGGED:
                scsi_change_queue_depth(sdev,
                                dev->openings + dev->active);
+               break;
        default:
                /*
                 * We allow the OS to queue 2 untagged transactions to