kyber-iosched: update shallow depth when setting up hardware queue
authorJens Axboe <axboe@kernel.dk>
Wed, 9 May 2018 19:55:14 +0000 (13:55 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 10 May 2018 17:27:46 +0000 (11:27 -0600)
commit2882064076c80ed643fe9c78ed7d493446bc5e0d
treef27605d4dae13ed67258486c80c0f261a2fd0c1d
parent483b7bf2e40233657713279b6f98a9225ea0ff84
kyber-iosched: update shallow depth when setting up hardware queue

We don't expect the async depth to be smaller than the wake batch
count for sbitmap, but just in case, inform sbitmap of what shallow
depth kyber may use.

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