Lin Feng
8d663f34f8
blk-mq: bypass IO scheduler's limit_depth for passthrough request
...
Commit 01e99aeca3 ("blk-mq: insert passthrough request into
hctx->dispatch directly") gives high priority to passthrough requests and
bypass underlying IO scheduler. But as we allocate tag for such request it
still runs io-scheduler's callback limit_depth, while we really want is to
give full sbitmap-depth capabity to such request for acquiring available
tag.
blktrace shows PC requests(dmraid -s -c -i) hit bfq's limit_depth:
8,0 2 0 0.000000000 39952 1,0 m N bfq [bfq_limit_depth] wr_busy 0 sync 0 depth 8
8,0 2 1 0.000008134 39952 D R 4 [dmraid]
8,0 2 2 0.000021538 24 C R [0]
8,0 2 0 0.000035442 39952 1,0 m N bfq [bfq_limit_depth] wr_busy 0 sync 0 depth 8
8,0 2 3 0.000038813 39952 D R 24 [dmraid]
8,0 2 4 0.000044356 24 C R [0]
This patch introduce a new wrapper to make code not that ugly.
Signed-off-by: Lin Feng <linf@wangsu.com >
Reviewed-by: Ming Lei <ming.lei@redhat.com >
Link: https://lore.kernel.org/r/20210415033920.213963-1-linf@wangsu.com
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2021-04-16 06:06:49 -06:00
..
2021-03-16 10:39:28 -06:00
2021-03-01 11:45:04 +01:00
2021-02-22 09:45:23 -08:00
2021-02-24 10:25:37 -08:00
2021-03-08 11:59:17 +01:00
2021-02-24 10:35:29 -08:00
2021-02-22 10:27:48 -08:00
2021-02-23 15:05:10 -08:00
2021-03-10 12:22:26 +00:00
2021-03-13 11:27:30 -08:00
2021-02-21 14:44:44 -08:00
2021-03-02 15:33:00 +01:00
2021-02-22 09:27:18 -08:00
2021-03-11 15:26:07 -05:00
2021-02-25 10:17:31 -08:00
2021-03-08 11:59:17 +01:00
2021-03-08 15:16:30 -08:00
2021-04-12 09:19:58 -06:00
2021-02-26 09:41:04 -08:00
2021-04-16 06:06:49 -06:00
2021-02-23 09:54:51 -07:00
2021-02-26 09:41:03 -08:00
2021-02-22 09:45:23 -08:00
2021-03-13 11:27:30 -08:00
2021-03-11 14:40:50 +09:00
2021-03-10 09:16:09 +01:00
2021-02-28 12:06:45 -08:00
2021-02-26 09:41:03 -08:00
2021-02-26 13:59:32 -08:00
2021-02-24 21:05:28 +05:30
2021-02-24 21:04:54 +05:30
2021-02-24 09:54:24 -08:00
2021-02-26 13:59:32 -08:00
2021-03-19 07:44:28 +01:00
2021-02-17 14:12:42 +01:00
2021-02-17 14:12:43 +01:00
2021-02-26 09:41:04 -08:00
2021-02-24 13:38:28 -08:00
2021-02-24 10:13:55 -08:00
2021-04-08 10:24:36 -06:00
2021-02-26 09:40:59 -08:00
2021-02-24 13:38:32 -08:00
2021-02-24 13:38:32 -08:00
2021-02-24 13:38:35 -08:00
2021-02-23 11:29:52 -08:00
2021-02-23 13:39:45 -08:00
2021-02-26 09:41:05 -08:00
2021-02-18 23:17:57 -08:00
2021-03-18 09:44:35 -06:00
2021-02-21 10:29:20 -08:00
2021-02-23 11:29:52 -08:00
2021-03-08 20:12:08 +00:00
2021-02-24 13:38:31 -08:00
2021-02-26 09:41:03 -08:00
2021-03-11 14:40:50 +09:00
2021-02-17 14:12:42 +01:00
2021-02-26 10:19:03 -08:00
2021-02-22 10:22:54 -08:00
2021-02-26 09:41:02 -08:00
2021-02-26 09:41:05 -08:00
2021-02-26 09:40:59 -08:00
2021-02-26 09:41:03 -08:00
2021-02-22 13:16:53 -05:00
2021-02-19 11:54:08 +01:00
2021-02-19 11:54:08 +01:00
2021-02-19 11:35:28 +01:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-02-26 09:41:03 -08:00
2021-03-13 11:27:29 -08:00
2021-03-13 11:27:31 -08:00
2021-02-26 09:41:00 -08:00
2021-02-26 09:41:00 -08:00
2021-02-26 09:41:00 -08:00
2021-02-24 13:38:35 -08:00
2021-02-24 13:38:33 -08:00
2021-03-13 11:27:30 -08:00
2021-03-13 11:27:30 -08:00
2021-02-26 09:41:00 -08:00
2021-02-24 10:25:37 -08:00
2021-03-17 13:16:18 -07:00
2021-02-27 08:07:12 -08:00
2021-02-23 20:32:11 -07:00
2021-03-04 15:52:44 +01:00
2021-02-26 09:17:24 -08:00
2021-02-17 13:17:49 -08:00
2021-02-24 13:38:29 -08:00
2021-02-26 09:41:01 -08:00
2021-02-26 09:40:59 -08:00
2021-02-26 09:40:59 -08:00
2021-02-25 09:56:08 -08:00
2021-02-23 14:11:13 -06:00
2021-02-23 14:12:01 -06:00
2021-02-23 09:28:51 -08:00
2021-03-06 12:52:39 +01:00
2021-03-10 10:56:46 +00:00
2021-02-24 14:52:41 +01:00
2021-03-10 15:25:02 +01:00
2021-02-26 09:41:03 -08:00
2021-02-21 12:35:04 -08:00
2021-03-16 22:13:11 +01:00
2021-02-26 09:41:01 -08:00
2021-02-21 17:25:22 -07:00
2021-02-23 13:39:45 -08:00
2021-03-10 09:51:45 +01:00
2021-02-26 09:41:02 -08:00
2021-02-26 09:41:02 -08:00
2021-02-26 09:41:04 -08:00
2021-02-17 14:12:42 +01:00
2021-02-17 14:12:42 +01:00
2021-02-17 14:25:50 -08:00
2021-03-13 11:27:30 -08:00
2021-02-26 09:41:04 -08:00
2021-03-02 17:25:46 -07:00
2021-02-20 10:13:32 -05:00
2021-02-23 13:39:45 -08:00
2021-03-01 15:25:24 -08:00
2021-03-16 22:13:10 +01:00
2021-03-04 09:51:50 -05:00
2021-02-20 21:28:04 -08:00
2021-03-10 09:51:45 +01:00
2021-03-17 21:30:15 +01:00
2021-03-11 11:11:33 +01:00
2021-02-25 14:26:00 -05:00
2021-03-09 16:12:20 -08:00
2021-02-23 07:52:58 -05:00
2021-03-14 04:37:35 -04:00
2021-02-26 09:41:00 -08:00
2021-03-17 09:56:45 +01:00
2021-02-26 09:41:01 -08:00
2021-02-26 09:41:01 -08:00