]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bfq-iosched: update shallow depth to smallest one used
authorJens Axboe <axboe@kernel.dk>
Wed, 9 May 2018 21:26:55 +0000 (15:26 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 10 May 2018 17:27:41 +0000 (11:27 -0600)
commit483b7bf2e40233657713279b6f98a9225ea0ff84
tree7a44b55e40bf1ab35188980009eaa40661ff2616
parenta327553965dede92587e6ccbe7df98dba36edcea
bfq-iosched: update shallow depth to smallest one used

If our shallow depth is smaller than the wake batching of sbitmap,
we can introduce hangs. Ensure that sbitmap knows how low we'll go.

Acked-by: Paolo Valente <paolo.valente@linaro.org>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c