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
..
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:16:04 +01:00
2014-09-30 09:29:55 +02:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-10-07 21:29:18 -04:00
2014-11-12 11:19:43 +01:00
2014-11-10 15:25:29 +01:00
2014-11-12 11:19:36 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-10-21 12:53:45 -07:00
2014-08-26 09:35:54 +02:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-07-25 17:16:56 -04:00
2014-11-12 11:19:43 +01:00
2014-08-08 15:57:29 -07:00
2013-11-26 11:09:07 +01:00
2013-11-26 11:09:07 +01:00
2013-11-26 11:09:07 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:15:57 +01:00
2014-11-12 11:16:08 +01:00
2014-11-12 11:16:08 +01:00
2014-06-09 18:54:06 -07:00
2014-05-28 12:11:08 +02:00
2013-10-14 15:26:04 +02:00
2014-11-12 11:19:43 +01:00
2013-06-26 18:32:47 -07:00
2013-01-03 15:57:01 -08:00
2014-11-12 11:16:11 +01:00
2014-11-12 11:16:05 +01:00
2014-07-17 22:07:38 +02:00
2013-01-03 15:57:01 -08:00
2014-11-12 11:19:43 +01:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:10:43 +02:00
2013-04-09 14:13:17 -04:00
2014-03-19 15:04:44 -07:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2013-08-01 18:08:34 -07:00
2013-01-03 15:57:01 -08:00
2013-06-26 18:32:47 -07:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:05:37 +02:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2014-11-12 11:19:43 +01:00
2013-04-09 14:13:16 -04:00
2013-11-26 11:09:07 +01:00
2014-11-12 11:19:41 +01:00
2014-06-02 09:55:02 +02:00
2014-11-12 11:19:43 +01:00
2014-06-02 09:54:59 +02:00
2014-11-12 11:19:43 +01:00
2012-11-27 08:59:43 +04:00
2013-04-09 14:13:16 -04:00
2014-07-17 22:07:37 +02:00
2014-03-19 15:04:44 -07:00
2014-11-12 11:19:43 +01:00
2014-09-26 10:07:27 +02:00
2014-11-12 11:19:43 +01:00
2013-04-09 14:13:27 -04:00
2014-03-15 10:19:19 -07:00
2014-09-30 09:29:55 +02:00
2014-04-11 16:15:36 -04:00
2013-01-03 15:57:01 -08:00
2014-10-18 11:53:51 -07:00
2013-01-03 15:57:01 -08:00
2014-03-15 10:19:18 -07:00
2014-11-12 11:19:43 +01:00
2013-01-03 15:57:01 -08:00
2014-05-28 12:10:43 +02:00
2014-05-28 12:05:37 +02:00
2014-09-23 13:36:19 +00:00
2014-11-12 11:16:08 +01:00
2014-03-27 08:26:31 -07:00
2014-08-08 15:57:29 -07:00
2013-01-03 15:57:01 -08:00
2013-04-09 14:13:15 -04:00
2014-08-12 12:15:14 -06:00
2013-04-15 14:30:44 -06:00
2014-11-12 11:19:43 +01:00
2014-07-17 22:07:35 +02:00
2014-07-25 17:16:56 -04:00
2014-11-12 11:16:08 +01:00
2014-05-28 18:14:16 +02:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2014-10-07 21:29:18 -04:00
2014-11-12 11:16:12 +01:00
2014-07-25 17:16:55 -04:00
2014-05-28 12:05:36 +02:00
2014-11-12 11:19:43 +01:00
2013-04-09 14:13:17 -04:00
2014-11-12 11:16:04 +01:00
2014-11-12 11:19:43 +01:00
2014-07-25 17:16:55 -04:00
2014-07-25 07:43:43 -04:00
2014-11-12 11:19:43 +01:00
2014-07-29 18:01:10 -04:00
2014-11-12 11:16:10 +01:00
2014-11-12 11:16:12 +01:00
2014-11-12 11:19:40 +01:00
2014-11-12 11:16:05 +01:00
2014-04-24 13:44:54 -04:00
2014-04-10 15:30:35 -07:00
2014-07-25 17:16:28 -04:00
2014-07-17 22:07:37 +02:00
2014-11-12 11:19:43 +01:00
2014-06-06 16:08:16 -07:00
2014-11-12 11:19:40 +01:00
2014-07-01 07:13:39 -04:00
2014-07-25 17:16:54 -04:00
2014-08-04 13:16:14 +02:00
2014-07-17 22:07:37 +02:00
2014-11-12 11:19:41 +01:00
2014-08-14 11:09:05 -06:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:15:54 +01:00
2014-09-30 15:17:35 -06:00
2014-11-12 11:19:14 +01:00
2014-11-12 11:15:57 +01:00
2014-03-27 08:26:31 -07:00
2014-11-12 11:16:11 +01:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2014-11-12 11:16:03 +01:00
2014-07-17 22:07:39 +02:00
2014-11-12 11:16:11 +01:00
2014-11-12 11:15:57 +01:00
2014-11-12 11:16:12 +01:00
2012-09-14 17:59:29 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:16:08 +01:00
2014-05-28 12:16:28 +02:00
2014-05-28 12:16:28 +02:00
2014-05-28 12:11:33 +02:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2014-05-28 12:05:37 +02:00
2014-05-28 12:05:37 +02:00
2014-11-12 11:19:43 +01:00
2013-10-25 11:51:37 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-11-12 11:19:43 +01:00
2014-09-24 11:52:09 -06:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:15 -04:00
2014-03-19 15:04:44 -07:00
2014-10-06 10:27:57 +01:00
2013-01-03 15:57:01 -08:00
2013-11-26 11:09:07 +01:00