From mboxrd@z Thu Jan 1 00:00:00 1970 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 3E6783064B3 for ; Mon, 3 Nov 2025 11:52:11 +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=1762170733; cv=none; b=HjySqfO2jxFGC8nebuB1LknE67kae8spGKpyunAq7uJhLSAUgmyc6Uh2O97AEmervC7hI0q+mosv2b9Taik5QMpETsiH5VSiq3HIZQ+Ep9sdKCemvHmd6KSSHGcRH5CuNs0lArW6aUGQ4c6w1vBm6EKaMMXLaasWDW/K/9f7AmM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762170733; c=relaxed/simple; bh=RTRUkdQ4RUhT2OiWSqkaSBcFO6zLm+lAJJgZPml69NI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HfjeL3OMJeZz3i8Z+5PSL+mLFtAZyoJThhjQahmqek4jIWoAUzj4JGfiHOp/GaaCqFB7W9w637pW8TPHh0Nj6FNqoJLW7fbZcUDmMCw3GbSEbftvKqw6af5zuWGlQDnKlBz6g7IcXS/z654/p5tV7m7Oi3Yj1JBSN/TmpkgevQo= 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 56AAA227A87; Mon, 3 Nov 2025 12:52:07 +0100 (CET) Date: Mon, 3 Nov 2025 12:52:06 +0100 From: Christoph Hellwig To: John Garry Cc: Christoph Hellwig , Jens Axboe , "Martin K. Petersen" , linux-block@vger.kernel.org Subject: Re: [PATCH 1/2] block: blocking mempool_alloc doesn't fail Message-ID: <20251103115206.GA15538@lst.de> References: <20251103101653.2083310-1-hch@lst.de> <20251103101653.2083310-2-hch@lst.de> <65386bdd-6cd9-44ff-9c43-2e9343f6ced9@oracle.com> Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65386bdd-6cd9-44ff-9c43-2e9343f6ced9@oracle.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Nov 03, 2025 at 11:26:56AM +0000, John Garry wrote: > Is the original error handling code correct? Does it matter given that it was never called and is removed now? :)