[PATCH v2 1/2] erofs: set error to bio if file-backed IO fails
Gao Xiang
hsiangkao at linux.alibaba.com
Mon Mar 31 13:44:16 AEDT 2025
On 2025/3/31 10:29, Sheng Yong wrote:
> From: Sheng Yong <shengyong1 at xiaomi.com>
>
> If a file-backed IO fails before submitting the bio to the lower
> filesystem, an error is returned, but the bio->bi_status is not
> marked as an error. However, the error information should be passed
> to the end_io handler. Otherwise, the IO request will be treated as
> successful.
>
> Signed-off-by: Sheng Yong <shengyong1 at xiaomi.com>
Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list