block: get rid of struct blk_issue_stat
struct blk_issue_stat squashes three things into one u64: - The time the driver started working on a request - The original size of the request (for the io.low controller) - Flags for writeback throttling It turns out that on x86_64, we have a 4 byte hole in struct request which we can fill with the non-timestamp fields from blk_issue_stat, simplifying things quite a bit. Signed-off-by:Omar Sandoval <osandov@fb.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- block/blk-core.c 4 additions, 1 deletionblock/blk-core.c
- block/blk-mq.c 6 additions, 2 deletionsblock/blk-mq.c
- block/blk-stat.c 2 additions, 5 deletionsblock/blk-stat.c
- block/blk-stat.h 0 additions, 43 deletionsblock/blk-stat.h
- block/blk-throttle.c 1 addition, 2 deletionsblock/blk-throttle.c
- block/blk-wbt.c 5 additions, 7 deletionsblock/blk-wbt.c
- block/blk-wbt.h 2 additions, 2 deletionsblock/blk-wbt.h
- block/kyber-iosched.c 3 additions, 3 deletionsblock/kyber-iosched.c
- include/linux/blk_types.h 0 additions, 4 deletionsinclude/linux/blk_types.h
- include/linux/blkdev.h 18 additions, 8 deletionsinclude/linux/blkdev.h
Please register or sign in to comment