Re: [dm-devel] [PATCH 66/78] block: keep a block_device reference for each hd_struct

2020-11-19 Thread Hannes Reinecke
On 11/16/20 3:57 PM, Christoph Hellwig wrote: To simplify block device lookup and a few other upcomdin areas, make sure that we always have a struct block_device available for each disk and each partition. The only downside of this is that each device and partition uses a little more memories.

[dm-devel] [PATCH 66/78] block: keep a block_device reference for each hd_struct

2020-11-16 Thread Christoph Hellwig
To simplify block device lookup and a few other upcomdin areas, make sure that we always have a struct block_device available for each disk and each partition. The only downside of this is that each device and partition uses a little more memories. The upside will be that a lot of code can be sim