From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by mail19.linbit.com (LINBIT Mail Daemon) with ESMTP id 487B016095C for ; Thu, 5 Mar 2026 15:13:34 +0100 (CET) Date: Thu, 5 Mar 2026 06:13:33 -0800 From: Christoph Hellwig To: Andreas Gruenbacher Subject: Re: [PATCH 2/4] block: get rid of blk_status_to_{errno,str} inconsistency Message-ID: References: <20260304190424.291743-1-agruenba@redhat.com> <20260304190424.291743-3-agruenba@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260304190424.291743-3-agruenba@redhat.com> Cc: Jens Axboe , dm-devel@lists.linux.dev, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, linux-bcache@vger.kernel.org, drbd-dev@lists.linbit.com List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Mar 04, 2026 at 08:04:07PM +0100, Andreas Gruenbacher wrote: > Change blk_status_to_str() to be consistent with blk_status_to_errno() > and return "I/O" for undefined status codes. > > With that, the fallback case in the blk_errors array can be removed with > no change in behavior. Looks good: Reviewed-by: Christoph Hellwig While you're at it: blk_status_to_str is exported, but as no modular users, can you also drop the export?