[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aJi1-l0ye4Xxv3IH@infradead.org>
Date: Sun, 10 Aug 2025 08:08:42 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Zheng Qixing <zhengqixing@...weicloud.com>
Cc: axboe@...nel.dk, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, yukuai3@...wei.com,
yi.zhang@...wei.com, yangerkun@...wei.com, houtao1@...wei.com,
zhengqixing@...wei.com, lilingfeng3@...wei.com, nilay@...ux.ibm.com
Subject: Re: [PATCH v2] block: fix kobject double initialization in add_disk
On Fri, Aug 08, 2025 at 01:36:09PM +0800, Zheng Qixing wrote:
> From: Zheng Qixing <zhengqixing@...wei.com>
>
> 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.
Powered by blists - more mailing lists