Re: don't merge bios over iomap boundaries, was: Re: [PATCH] erofs: prevent buffered read bio merges across device chunks

From: Gao Xiang

Date: Thu Jun 18 2026 - 06:20:05 EST


Hi Christoph,

On 2026/6/18 17:00, Christoph Hellwig wrote:
On Thu, Jun 18, 2026 at 03:16:03PM +0800, zhaoyifan (H) wrote:
Hi Christoph,


This patch works well under my workload (at least correctness-wise). Thanks.

Thanks.

Gao, do we need any erofs updates to go along with this to not regress
behavior where it would have merged before?

I think this patch can go alone seperately because the
correctness is okay and cross-subsystem git merge is
a bit of churn.

I've pushed an chunk merging patch individually to -next
for this cycle too, and it should fix too many bios issue,
but even without that patch it won't impact the correctness
(just less performant.) I assume both patches will upstream
in the near future.

Thansk,
Gao Xiang