block: pass struct request instead of struct blk_issue_stat to wbt
authorOmar Sandoval <osandov@fb.com>
Wed, 9 May 2018 09:08:48 +0000 (02:08 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 May 2018 14:33:02 +0000 (08:33 -0600)
commita8a45941706bca05ef9234a17f5e4a50b9835a44
tree35fad1c22dfb1d2dc6be6641953db03d5a5cb874
parent934031a12980511c020acf7d91f9035e34d0b5b8
block: pass struct request instead of struct blk_issue_stat to wbt

issue_stat is going to go away, so first make writeback throttling take
the containing request, update the internal wbt helpers accordingly, and
change rwb->sync_cookie to be the request pointer instead of the
issue_stat pointer. No functional change.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-mq.c
block/blk-wbt.c
block/blk-wbt.h