]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: use ->bi_bdev for I/O accounting
authorChristoph Hellwig <hch@lst.de>
Sun, 24 Jan 2021 10:02:38 +0000 (11:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 01:17:20 +0000 (18:17 -0700)
commit7861eef6e63db6a40ea1c6658d7bcdf080b49433
tree97b7452632aa87a60c1b9764938e2b9a23a409f9
parentc19dcb4c548210bf40bd7e26f8960149a615d722
blk-mq: use ->bi_bdev for I/O accounting

Remove the reverse map from a sector to a partition for I/O accounting by
simply using ->bi_bdev.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk.h
block/genhd.c