Re: [PATCH v2 1/2] file-posix: fix Linux alignment probing when EIO is returned

2022-11-11 Thread Kevin Wolf
Am 03.11.2022 um 19:36 hat Stefan Hajnoczi geschrieben: > Linux v6.0 dm-crypt returns errno EIO from unaligned O_DIRECT pread(2) > calls. Alignment probing fails on dm-crypt devices because the code > expects EINVAL. This is a kernel regression that is expected to be fixed > upstream: > https://lor

[PATCH v2 1/2] file-posix: fix Linux alignment probing when EIO is returned

2022-11-03 Thread Stefan Hajnoczi
Linux v6.0 dm-crypt returns errno EIO from unaligned O_DIRECT pread(2) calls. Alignment probing fails on dm-crypt devices because the code expects EINVAL. This is a kernel regression that is expected to be fixed upstream: https://lore.kernel.org/linux-block/20221103193837.3b5b4...@xps.demsh.org/T/#