Re: [PATCH v4 RESEND] erofs: enable iomap for file-backed mounts on unencoded inodes

From: Chao Yu

Date: Sat Oct 17 2026 - 03:13:36 EST


On 10/17/26 10:33, Gao Xiang wrote:
Iomap supports non-bdev I/O through fs-provided callbacks since
commit b2f35ac4146d ("iomap: add caller-provided callbacks for read
and readahead"), making it suitable for file-backed mounts on unencoded
inodes.

Enable iomap for this case to support sub-folio buffered I/Os on
file-backed mounts and simplify the codebase.

Signed-off-by: Gao Xiang (Docker) <xiang@xxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,