Re: [dm-devel] holders not working properly, regression [was: Re: use regular gendisk registration in device mapper v2]

2021-08-19 Thread Mike Snitzer
On Thu, Aug 19 2021 at 2:05P -0400, Christoph Hellwig wrote: > Manually reverting "block: remove the extra kobject reference in > bd_link_disk_holder" as show below fixed the issue for me. I'll spend > some more time tomorrow trying to fully understan the life time rules > tomorrow before sendi

Re: [dm-devel] holders not working properly, regression [was: Re: use regular gendisk registration in device mapper v2]

2021-08-19 Thread Christoph Hellwig
Manually reverting "block: remove the extra kobject reference in bd_link_disk_holder" as show below fixed the issue for me. I'll spend some more time tomorrow trying to fully understan the life time rules tomorrow before sending a patch, though. --- >From 6b94f5435900d23769db8d07ff47415aab4ac63e

[dm-devel] holders not working properly, regression [was: Re: use regular gendisk registration in device mapper v2]

2021-08-19 Thread Mike Snitzer
On Wed, Aug 04 2021 at 5:41P -0400, Christoph Hellwig wrote: > Hi all, > > The device mapper code currently has a somewhat odd gendisk registration > scheme where it calls add_disk early, but uses a special flag to skip the > "queue registration", which is a major part of add_disk. This series