linux/drivers/usb/storage
Christoph Hellwig c8b09f6fb6 scsi: don't set tagging state from scsi_adjust_queue_depth
Remove the tagged argument from scsi_adjust_queue_depth, and just let it
handle the queue depth.  For most drivers those two are fairly separate,
given that most modern drivers don't care about the SCSI "tagged" status
of a command at all, and many old drivers allow queuing of multiple
untagged commands in the driver.

Instead we start out with the ->simple_tags flag set before calling
->slave_configure, which is how all drivers actually looking at
->simple_tags except for one worke anyway.  The one other case looks
broken, but I've kept the behavior as-is for now.

Except for that we only change ->simple_tags from the ->change_queue_type,
and when rejecting a tag message in a single driver, so keeping this
churn out of scsi_adjust_queue_depth is a clear win.

Now that the usage of scsi_adjust_queue_depth is more obvious we can
also remove all the trivial instances in ->slave_alloc or ->slave_configure
that just set it to the cmd_per_lun default.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
2014-11-12 11:19:43 +01:00
..
alauda.c USB: storage: use %*ph specifier to dump small buffers 2014-09-23 22:15:18 -07:00
cypress_atacb.c
datafab.c
debug.c scsi: use sdev as argument for sense code printing 2014-11-12 11:15:58 +01:00
debug.h
ene_ub6250.c
freecom.c
initializers.c USB: storage: Fix timeout in usb_stor_euscsi_init() and usb_stor_huawei_e220_init() 2014-11-05 11:45:58 -08:00
initializers.h
isd200.c
jumpshot.c
karma.c
Kconfig SCSI misc on 20140806 2014-08-06 20:10:32 -07:00
Makefile
onetouch.c
option_ms.c
option_ms.h
protocol.c
protocol.h
realtek_cr.c usb: storage: fix build warnings !CONFIG_PM 2014-11-03 15:26:16 -08:00
scsiglue.c usb: Fixed a few typos 2014-09-23 22:15:18 -07:00
scsiglue.h
sddr09.c USB: storage: use %*ph specifier to dump small buffers 2014-09-23 22:15:18 -07:00
sddr55.c
shuttle_usbat.c
sierra_ms.c
sierra_ms.h
transport.c usb-storage: handle a skipped data phase 2014-11-03 15:26:15 -08:00
transport.h
uas-detect.h uas: Add missing le16_to_cpu calls to asm1051 / asm1053 usb-id check 2014-09-11 14:21:43 -07:00
uas.c scsi: don't set tagging state from scsi_adjust_queue_depth 2014-11-12 11:19:43 +01:00
unusual_alauda.h
unusual_cypress.h
unusual_datafab.h
unusual_devs.h storage: Add quirk for another SCM-based USB-SCSI converter 2014-09-23 22:29:27 -07:00
unusual_ene_ub6250.h
unusual_freecom.h
unusual_isd200.h
unusual_jumpshot.h
unusual_karma.h
unusual_onetouch.h
unusual_realtek.h
unusual_sddr09.h
unusual_sddr55.h
unusual_uas.h uas: Add US_FL_NO_ATA_1X quirk for 2 more Seagate models 2014-11-03 15:48:45 -08:00
unusual_usbat.h
usb.c USB patches for 3.18-rc1 2014-10-08 06:47:31 -04:00
usb.h
usual-tables.c