On Fri, Aug 08, 2025 at 01:36:09PM +0800, Zheng Qixing wrote:AFAIK, a thorough will require complex refactor in the device mapper,
From: Zheng Qixing <zhengqixing@xxxxxxxxxx>
Device-mapper can call add_disk() multiple times for the same gendisk
due to its two-phase creation process (dm create + dm load).
We'll need to fix that, instead of adding complex workarounds in the
block layer for something that should not happen.
.