Re: [PATCH 2/4] block: get rid of blk_status_to_{errno,str} inconsistency

John Garry <[email protected]> Fri, 6 Mar 2026 15:51:29 +0000
Newsgroups org.kernel.vger.linux-bcache,dev.linux.lists.dm-devel,dev.linux.lists.drbd-dev,net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel
Organization Oracle Corporation
Message-ID <[email protected]>
On 04/03/2026 19:04, 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.
> 
> Signed-off-by: Andreas Gruenbacher<[email protected]>

Reviewed-by: John Garry <[email protected]>