]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
erofs: get rid of raw bi_end_io() usage
authorGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 27 Nov 2025 08:07:56 +0000 (16:07 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Sun, 30 Nov 2025 15:55:13 +0000 (23:55 +0800)
commit80d0c27a0a4af8e0678d7412781482e6f73c22c7
treebf3e760ac68d955d7599f557935f5ae13ac5034b
parent30e13e41a0eb6bcc97e7c21eafee832b36851969
erofs: get rid of raw bi_end_io() usage

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 (compared to awkward bvec interfaces).

Let's use bio_endio() instead.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/fileio.c
fs/erofs/fscache.c