Jens Axboe d278d4a889 block: add code to track actual device queue depth
For blk-mq, ->nr_requests does track queue depth, at least at init
time. But for the older queue paths, it's simply a soft setting.
On top of that, it's generally larger than the hardware setting
on purpose, to allow backup of requests for merging.

Fill a hole in struct request with a 'queue_depth' member, that
drivers can call to more closely inform the block layer of the
real queue depth.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Jan Kara <jack@suse.cz>
2016-11-05 17:09:53 -06:00
..
2016-10-07 09:28:53 -07:00
2016-02-23 21:27:02 -05:00
2016-10-14 11:37:50 -07:00
2016-10-07 09:28:53 -07:00
2016-07-27 14:48:37 -07:00
2016-10-07 09:28:53 -07:00
2016-10-07 09:28:53 -07:00
2015-04-27 10:10:19 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:05:55 -07:00
2015-12-03 09:32:33 -08:00
2015-04-17 10:13:56 -07:00
2015-11-25 22:08:55 -05:00
2016-02-23 21:27:02 -05:00
2014-07-17 22:07:37 +02:00
2016-05-10 22:01:07 -04:00
2015-11-09 17:11:57 -08:00
2014-11-24 16:13:16 +01:00
2015-11-09 16:32:14 -08:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2016-10-07 09:28:53 -07:00
2016-02-25 21:10:53 -05:00
2016-10-07 09:28:53 -07:00
2015-06-02 17:24:54 -07:00
2013-04-09 14:13:27 -04:00
2016-01-27 20:36:10 +08:00
2016-09-26 20:49:25 -04:00
2016-01-27 20:36:10 +08:00
2016-10-18 19:49:11 -06:00
2013-04-09 14:13:15 -04:00
2014-07-17 22:07:35 +02:00
2016-02-23 21:27:02 -05:00
2016-10-07 09:28:53 -07:00
2016-10-28 08:48:16 -06:00
2016-10-18 19:49:11 -06:00
2016-02-23 21:27:02 -05:00
2014-07-17 22:07:39 +02:00
2016-09-04 01:28:08 -04:00
2014-11-12 11:15:57 +01:00
2015-11-18 11:59:09 -05:00
2016-02-23 21:27:02 -05:00
2014-11-20 09:11:15 +01:00
2016-10-07 09:28:53 -07:00
2013-04-09 14:13:15 -04:00