OSDN Git Service

block: replace bio->bi_issue_stat with bio-specific type
authorOmar Sandoval <osandov@fb.com>
Wed, 9 May 2018 09:08:49 +0000 (02:08 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 May 2018 14:33:03 +0000 (08:33 -0600)
commit5238dcf4136fd7287be8e7d38752645bfa5782ec
tree9ae32c74428227bd647d35c6422246c14e228f81
parenta8a45941706bca05ef9234a17f5e4a50b9835a44
block: replace bio->bi_issue_stat with bio-specific type

struct blk_issue_stat is going away, and bio->bi_issue_stat doesn't even
use the blk-stats interface, so we can provide a separate implementation
specific for bios. The helpers work the same way as the blk-stats
helpers.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c
include/linux/blk_types.h