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 21:10:56 +0000 (15:10 -0600)
commit8bea60901974ad44b06b08d52e1dd421ea8c6e9c
treeafd05bb8580a9e41afef562c639920307ceae486
parent825843b0adb7c95e8cbab35e6fee64980e29ade8
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>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-wbt.c
block/blk-wbt.h