diff options
author | Josef Bacik <josef@toxicpanda.com> | 2018-12-04 18:59:02 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-08 06:26:38 +0100 |
commit | 84f603246db9703aca05aad58b94a54dfbf44327 (patch) | |
tree | a2235d4f431e619f04292aea0349399ab4b8da68 /scripts/gcc-version.sh | |
parent | blkcg: rename blkg_try_get() to blkg_tryget() (diff) | |
download | linux-84f603246db9703aca05aad58b94a54dfbf44327.tar.xz linux-84f603246db9703aca05aad58b94a54dfbf44327.zip |
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>
Diffstat (limited to 'scripts/gcc-version.sh')
0 files changed, 0 insertions, 0 deletions