sbitmap: warn if using smaller shallow depth than was setup
authorOmar Sandoval <[email protected]>
Thu, 10 May 2018 00:29:24 +0000 (17:29 -0700)
committerJens Axboe <[email protected]>
Thu, 10 May 2018 17:27:52 +0000 (11:27 -0600)
commit61445b56d031bc12feafb477848cf4ef9a725fc9
treef4e6aef2571f9566c287342f4fe0fc9fa37c3a61
parent2882064076c80ed643fe9c78ed7d493446bc5e0d
sbitmap: warn if using smaller shallow depth than was setup

Make sure the user passed the right value to
sbitmap_queue_min_shallow_depth().

Acked-by: Paolo Valente <[email protected]>
Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
lib/sbitmap.c