Re: [dm-devel] [PATCH 74/78] block: merge struct block_device and struct hd_struct

2020-11-20 Thread Hannes Reinecke
On 11/16/20 3:58 PM, Christoph Hellwig wrote: Instead of having two structures that represent each block device with different lift time rules merged them into a single one. This also greatly simplifies the reference counting rules, as we can use the inode reference count as the main reference

[dm-devel] [PATCH 74/78] block: merge struct block_device and struct hd_struct

2020-11-16 Thread Christoph Hellwig
Instead of having two structures that represent each block device with different lift time rules merged them into a single one. This also greatly simplifies the reference counting rules, as we can use the inode reference count as the main reference count for the new struct block_device, with the