[dm-devel] [PATCH 6/9] blk-mq: use ->bi_bdev for I/O accounting

2020-12-01 Thread Christoph Hellwig
Remove the reverse map from a sector to a partition for I/O accounting by simply using ->bi_bdev. Signed-off-by: Christoph Hellwig --- block/blk-core.c | 6 +- block/blk.h | 2 -- block/genhd.c| 48 3 files changed, 5 insertions(+),

Re: [dm-devel] [PATCH 6/9] blk-mq: use ->bi_bdev for I/O accounting

2020-12-02 Thread Tejun Heo
On Tue, Dec 01, 2020 at 05:54:21PM +0100, Christoph Hellwig wrote: > Remove the reverse map from a sector to a partition for I/O accounting by > simply using ->bi_bdev. > > Signed-off-by: Christoph Hellwig Acked-by: Tejun Heo -- tejun -- dm-devel mailing list dm-devel@redhat.com https://www.