]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitade3491035128d88477bc0cd7e246213d6630da3
tree35fad1c22dfb1d2dc6be6641953db03d5a5cb874
parent6718a3234e04aa2333eb998a4e6ff1fc6747ccc1
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