[PATCH 2/4] block: get rid of blk_status_to_{errno,str} inconsistency
John Garry
john.g.garry at oracle.com
Fri Mar 6 16:51:29 CET 2026
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<agruenba at redhat.com>
Reviewed-by: John Garry <john.g.garry at oracle.com>
More information about the drbd-dev
mailing list