Thread (18 messages) 18 messages, 3 authors, 2021-01-26

Re: [PATCH 05/10] block: do not reassig ->bi_bdev when partition remapping

From: Christoph Hellwig <hch@lst.de>
Date: 2021-01-25 18:00:09
Also in: dm-devel, linux-bcache, linux-block, linux-raid

On Mon, Jan 25, 2021 at 10:53:36AM -0700, Jens Axboe wrote:
On Sun, Jan 24, 2021 at 3:05 AM Christoph Hellwig [off-list ref] wrote:
quoted
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.
This one causes boot failures for me on my laptop...
Any output to share?  Details of the config?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help