Skip to contentSkip to conversation

aic7xxx: Fix queue depth handling

PATCH Applied Alan 4 participants 4 messages Feb 15, 2016 – Feb 18, 2016

Subsystems (2)
lore
Share & tools
lore

Alan

author
#0 lore raw

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
index b846a46..fc6a831 100644
@@ -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
maintainer
#1 lore raw
Quoted 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.

---
 drivers/scsi/aic7xxx/aic7xxx_osm.c |    1 +
 1 file changed, 1 insertion(+)
drivers/scsi/aic7xxx/aic7xxx_osm.c +0 -0
index b846a46..fc6a831 100644

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

maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Alan
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.

---
 drivers/scsi/aic7xxx/aic7xxx_osm.c |    1 +
 1 file changed, 1 insertion(+)
drivers/scsi/aic7xxx/aic7xxx_osm.c +0 -0
index b846a46..fc6a831 100644

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
#3 lore raw
In reply to Alan
Quoted 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