blk-wbt: pass in enum wbt_flags to get_rq_wait()
authorJens Axboe <axboe@kernel.dk>
Mon, 7 May 2018 15:57:08 +0000 (09:57 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 8 May 2018 19:18:27 +0000 (13:18 -0600)
commit5f3216fbee9dd3166fd3a2651350afe8d986aaf5
tree3181784964879667353c1b71aed2b9af18949a2b
parenta1413ecb5e0de08da7e8e09a930c4602d627e621
blk-wbt: pass in enum wbt_flags to get_rq_wait()

This is in preparation for having more write queues, in which
case we would have needed to pass in more information than just
a simple 'is_kswapd' boolean.

Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-wbt.c
block/blk-wbt.h