# Re: \[PATCH 05/10\] block: do not reassig -\>bi\_bdev when partition remapping

- From: Jens Axboe \<axboe@kernel.dk\>
- Date: 2021-01-25 18:15:08 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2021/01/6400475
- Thread: https://ratatoskr.run/linux-bcache/2021/01/6400435/t.md

```text
On Sun, Jan 24, 2021 at 3:05 AM Christoph Hellwig [ref] wrote:
>
> 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...

-- 
Jens Axboe

```
