]> git.baikalelectronics.ru Git - kernel.git/commit
block, bfq: port commit "cfq-iosched: improve hw_tag detection"
authorPaolo Valente <paolo.valente@linaro.org>
Tue, 29 Jan 2019 11:06:36 +0000 (12:06 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Jan 2019 19:50:24 +0000 (12:50 -0700)
commit1d9a0851277a08d514c13b040b3993ff537d0d35
treec86fd92e803cb558902ae247027934cb2015fa62
parente70c34588768e1bbd0327fd2002105a4ad2e248d
block, bfq: port commit "cfq-iosched: improve hw_tag detection"

The original commit is commit 9f3e7b43687c ("cfq-iosched: improve hw_tag
detection") and has the following commit message:

If active queue hasn't enough requests and idle window opens, cfq will
not dispatch sufficient requests to hardware. In such situation, current
code will zero hw_tag. But this is because cfq doesn't dispatch enough
requests instead of hardware queue doesn't work. Don't zero hw_tag in
such case.

Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c