]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - block/blk-mq.c
block: get rid of struct blk_issue_stat
authorOmar Sandoval <osandov@fb.com>
Wed, 9 May 2018 09:08:50 +0000 (02:08 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 May 2018 14:33:05 +0000 (08:33 -0600)
commit544ccc8dc904db55d4576c27a1eb66a888ffacea
tree5fa92e3cf1a5d33eddc61dfd65d088dd5cdb6f84
parent5238dcf4136fd7287be8e7d38752645bfa5782ec
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>
block/blk-core.c
block/blk-mq.c
block/blk-stat.c
block/blk-stat.h
block/blk-throttle.c
block/blk-wbt.c
block/blk-wbt.h
block/kyber-iosched.c
include/linux/blk_types.h
include/linux/blkdev.h