]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48e5a583275ded7516f5be3f6ddd1104d898cb3b
treeafd05bb8580a9e41afef562c639920307ceae486
parent4b4c87b80c21fc8c6e065e7579333a07cbe33188
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