Josef Bacik 84f603246d block: add rq_qos_wait to rq_qos
Originally when I split out the common code from blk-wbt into rq_qos I
left the wbt_wait() where it was and simply copied and modified it
slightly to work for io-latency.  However they are both basically the
same thing, and as time has gone on wbt_wait() has ended up much smarter
and kinder than it was when I copied it into io-latency, which means
io-latency has lost out on these improvements.

Since they are the same thing essentially except for a few minor things,
create rq_qos_wait() that replicates what wbt_wait() currently does with
callbacks that can be passed in for the snowflakes to do their own thing
as appropriate.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-12-07 22:26:38 -07:00
..
2018-12-04 11:38:19 -07:00
2018-11-07 13:42:32 -07:00
2018-11-16 08:34:06 -07:00
2018-12-04 09:38:05 -07:00
2018-11-07 13:44:59 -07:00
2018-11-19 19:03:44 -07:00
2018-11-30 14:48:04 -07:00
2018-12-07 22:26:38 -07:00
2018-12-07 22:26:38 -07:00
2018-11-15 12:13:25 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-11-16 08:34:06 -07:00
2018-10-25 11:17:40 -06:00
2018-05-31 10:50:54 -04:00
2018-11-07 13:42:32 -07:00