[PATCH v4 1/2] erofs: set error to bio if file-backed IO fails

2025-04-08 Thread Sheng Yong
From: Sheng Yong 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. Si

Re: [PATCH v4 1/2] erofs: set error to bio if file-backed IO fails

2025-04-08 Thread Gao Xiang
Hi Yong, On 2025/4/8 20:23, Sheng Yong wrote: From: Sheng Yong 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,