Re: [PATCH] blk-crypto: use BLK_STS_INVAL for alignment errors

From: Jens Axboe

Date: Thu Oct 30 2025 - 10:53:27 EST



On Thu, 30 Oct 2025 04:39:18 +0000, Carlos Llamas wrote:
> Make __blk_crypto_bio_prep() propagate BLK_STS_INVAL when IO segments
> fail the data unit alignment check.
>
> This was flagged by an LTP test that expects EINVAL when performing an
> O_DIRECT read with a misaligned buffer [1].
>
>
> [...]

Applied, thanks!

[1/1] blk-crypto: use BLK_STS_INVAL for alignment errors
commit: 0b39ca457241aeca07a613002512573e8804f93a

Best regards,
--
Jens Axboe