]> 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)
commit7c8f8e255e067bfd18f82e14cf312a7e6c53d1e1
tree97b7452632aa87a60c1b9764938e2b9a23a409f9
parent733a9f5c8889f177f27895475169db8841ae7816
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