diff options
author | Christoph Hellwig <hch@lst.de> | 2021-01-24 11:02:36 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-25 02:17:20 +0100 |
commit | 30c5d3456c272f0de0d7e7eb9fc355fa64a5f649 (patch) | |
tree | 8901f97019c05ddd88c2efa9994c7943519107d1 /drivers | |
parent | block: simplify submit_bio_checks a bit (diff) | |
download | linux-30c5d3456c272f0de0d7e7eb9fc355fa64a5f649.tar.xz linux-30c5d3456c272f0de0d7e7eb9fc355fa64a5f649.zip |
block: do not reassig ->bi_bdev when partition remapping
There is no good reason to reassign ->bi_bdev when remapping the
partition-relative block number to the device wide one, as all the
information required by the drivers comes from the gendisk anyway.
Keeping the original ->bi_bdev alive will allow to greatly simplify
the partition-away I/O accounting.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions