[PATCH v2] erofs: get rid of raw bi_end_io() usage
Ming Lei
ming.lei at redhat.com
Fri Nov 28 11:58:33 AEDT 2025
On Thu, Nov 27, 2025 at 04:07:56PM +0800, Gao Xiang wrote:
> These BIOs are actually harmless in practice, as they are all pseudo
> BIOs and do not use advanced features like chaining. Using the BIO
> interface is a more friendly and unified approach for both bdev and
> and file-backed I/Os.
>
> Let's use bio_endio() instead.
>
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
> ---
> v2:
> - call bio_endio() unconditionally in erofs_fileio_ki_complete().
bio_endio() can cover bio not submitted yet, so:
Reviewed-by: Ming Lei <ming.lei at redhat.com>
Thanks,
Ming
More information about the Linux-erofs
mailing list