• J
    blk-iolatency: deal with nr_requests == 1 · 9f60511a
    Josef Bacik 提交于
    Hitting the case where blk_queue_depth() returned 1 uncovered the fact
    that iolatency doesn't actually handle this case properly, it simply
    doesn't scale down anybody.  For this case we should go straight into
    applying the time delay, which we weren't doing.  Since we already limit
    the floor at 1 request this if statement is not needed, and this allows
    us to set our depth to 1 which allows us to apply the delay if needed.
    Signed-off-by: NJosef Bacik <josef@toxicpanda.com>
    Signed-off-by: NJens Axboe <axboe@kernel.dk>
    9f60511a
blk-iolatency.c 25.0 KB