aic7xxx: Fix queue depth handling
authorAlan <gnomes@lxorguk.ukuu.org.uk>
Mon, 15 Feb 2016 18:53:15 +0000 (18:53 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
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>
drivers/scsi/aic7xxx/aic7xxx_osm.c

index b846a46..fc6a831 100644 (file)
@@ -1336,6 +1336,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