[PATCH RFC 1/5] blk-mq: fix status for unaligned bio

Damien Le Moal dlemoal at kernel.org
Tue May 19 23:56:39 PDT 2026


On 2026/05/19 19:23, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
> 
> A bio requesting sectors unaligned to the logical format is invalid
> rather than an IO error. Fix up the return code because there are some
> device mappers that care about distinguishing these kinds of errors.
> 
> Signed-off-by: Keith Busch <kbusch at kernel.org>

Looks good to me.

Reviewed-by: Damien Le Moal <dlemoal at kernel.org>

It seems that this one could go in regardless of this series (so I do not think
it needs to be RFC).

-- 
Damien Le Moal
Western Digital Research



More information about the Linux-nvme mailing list