[GIT PULL] erofs fixes for 6.16-rc6

From: Gao Xiang
Date: Sat Jul 12 2025 - 11:41:49 EST


Hi Linus,

Could you consider these fixes for 6.16-rc6?

One patch fixes a cache aliasing issue by adding missing
flush_dcache_folio(), which causes execution failures on some arm32
setups.

Another patch fixes some large compressed fragments, which could be
generated by -Eall-fragments option (but should be rare) and was
rejected by mistake due to an on-disk hardening commit.

The remaining ones are small fixes as shown below.

Thanks,
Gao Xiang

The following changes since commit 86731a2a651e58953fc949573895f2fa6d456841:

Linux 6.16-rc3 (2025-06-22 13:30:08 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.16-rc6-fixes

for you to fetch changes up to b44686c8391b427fb1c85a31c35077e6947c6d90:

erofs: fix large fragment handling (2025-07-12 04:02:44 +0800)

----------------------------------------------------------------
Changes since last update:

- Address cache aliasing for mappable page cache folios;

- Allow readdir() to be interrupted;

- Fix large fragment handling which was errored out by mistake;

- Add missing tracepoints;

- Use memcpy_to_folio() to replace copy_to_iter() for inline data.

----------------------------------------------------------------
Chao Yu (3):
erofs: fix to add missing tracepoint in erofs_readahead()
erofs: fix to add missing tracepoint in erofs_read_folio()
erofs: allow readdir() to be interrupted

Gao Xiang (3):
erofs: use memcpy_to_folio() to replace copy_to_iter()
erofs: address D-cache aliasing
erofs: fix large fragment handling

fs/erofs/data.c | 21 ++++++++++++++++-----
fs/erofs/decompressor.c | 12 ++++--------
fs/erofs/dir.c | 6 ++++++
fs/erofs/fileio.c | 14 +++-----------
fs/erofs/internal.h | 6 ++++--
fs/erofs/zdata.c | 8 ++++----
fs/erofs/zmap.c | 9 ++++-----
7 files changed, 41 insertions(+), 35 deletions(-)