Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C6FF20B80B for ; Thu, 10 Apr 2025 08:17:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744273030; cv=none; b=h8yYtGeUS+lUU89yE4RJUmwH1EqYHNXaH/1A8+MCPGguUI7syn66JrtYNDTiEgTsHxMBIj78/dgjzISDEc24uFTtS8JA1/Di089jNSzxVkipQpdBgy4/wKMM74yukqtWxj4bGHm+wm4908F3XKJjuSTcytmN6b1SuYMjWhwRWFI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744273030; c=relaxed/simple; bh=WcdcMeCd686FALRLWfHwz6E2VqoL5Zvq55cz2p6Yhjo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KrSEsoKusV24NUfK2EKQTcuvI6b4wlthYPVUx2T/bNDpETWMhUbHDhALDIIWmKUOv9Pg3Y7lH+aM+MP3hLdks/kS/SR9B3wCm/1q6FifTWa+CKBgfWVxbHbwHOY/QTCgXFjkmWTOu2Hm+4MVaiw/v8UKAY6J0C6Rboom0Dkd0jQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 675EE68B05; Thu, 10 Apr 2025 10:17:04 +0200 (CEST) Date: Thu, 10 Apr 2025 10:17:04 +0200 From: Christoph Hellwig To: Chanho Min Cc: Jens Axboe , Mike Snitzer , Alasdair Kergon , Mikulas Patocka , linux-block@vger.kernel.org, dm-devel@lists.linux.dev, Christoph Hellwig , gunho.lee@lge.com Subject: Re: [PATCH] block/dm: add early_lookup_ready_bdev to ensure ready device lookup Message-ID: <20250410081704.GA1573@lst.de> References: <20250410080056.43247-1-chanho.min@lge.com> Precedence: bulk X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250410080056.43247-1-chanho.min@lge.com> User-Agent: Mutt/1.5.17 (2007-11-01) Once again: no. You need to stop abusing the early lookup infrastructure for anything not directly dealing with finding the root device in init/. Stop messing with it to paper up the mistake of dm even adding this code without proper review.