aic7xxx: Fix queue depth handling
Subsystems (2)
PATCH 1/1 aic7xxx: Fix queue depth handling
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.
--- drivers/scsi/aic7xxx/aic7xxx_osm.c | 1 + 1 file changed, 1 insertion(+)
drivers/scsi/aic7xxx/aic7xxx_osm.c +1 -0
@@ -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
James Bottomley
maintainerQuoted 15 lines · Alan
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.
Signed-off-by Alan Cox <[email protected]>--- drivers/scsi/aic7xxx/aic7xxx_osm.c | 1 + 1 file changed, 1 insertion(+)drivers/scsi/aic7xxx/aic7xxx_osm.c +0
-0
drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_platform_set_tags(struct ahc_softc *ahc, · line 1342
Quoted 7 lines
drivers/scsi/aic7xxx/aic7xxx_osm.c +1
-0@@ -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 :
Heh, that's a bit of an oopsie. I'll add a cc to stable to see what happens with older kernels.
James
Quoted 16 lines · Alan
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.
Signed-off-by Alan Cox <[email protected]>--- drivers/scsi/aic7xxx/aic7xxx_osm.c | 1 + 1 file changed, 1 insertion(+)drivers/scsi/aic7xxx/aic7xxx_osm.c +0
-0
drivers/scsi/aic7xxx/aic7xxx_osm.c ahc_platform_set_tags(struct ahc_softc *ahc, struct scsi_device *sdev, · line 1342
Quoted 7 lines
drivers/scsi/aic7xxx/aic7xxx_osm.c +1
-0@@ -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
Cheers,
Hannes
Signature · 9 lines
Dr. Hannes Reinecke zSeries & Storage [email protected] +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Martin K. Petersen
AppliedQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Alan" == Alan <[email protected]> writes:
Alan> We were setting the queue depth correctly, then setting it back to Alan> two. If you hit this as a bisection point then please send me an Alan> email as it would imply we've been hiding other bugs with this Alan> one.
Applied to 4.6/scsi-queue, CC:stable@.
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering