]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
blk-mq-sched: don't add flushes to the head of requeue queue
authorJens Axboe <axboe@fb.com>
Fri, 17 Feb 2017 18:37:14 +0000 (11:37 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 17 Feb 2017 19:35:47 +0000 (12:35 -0700)
commitc7a571b45055dba740156013fef4a7fdbe3262d9
treee9dac63bccc709731773c4701a74d1b4619abf49
parent2aa0f21d5491976729087104553b7bdaef047b9d
blk-mq-sched: don't add flushes to the head of requeue queue

If we are currently out of driver tags, we don't want to add a
new flush (without a tag) to the head of the requeue list. We
want to add it to the back, behind the others that are
potentially also waiting for a tag.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
block/blk-mq-sched.c