erofs fixes for 6.11-rc5
Hi Linus,
Could you consider these patches for 6.11-rc5?
As I mentioned in [1], there is a regression which could cause system hang due to page migration. The corresponding fix [2] was landed upstream through MM tree last week, therefore large folios can be safely allowed for compressed inodes and stress tests have been running on my fleet for over 20 days without any regression. Users have explicitly requested this for months, so let's allow large folios for EROFS full cases now for wider testing.
Additionally, there is a fix which addresses invalid memory accesses on a failure path triggered by fault injection and two minor cleanups to simplify the codebase.
All commits have been in -next except for Sandeep's new reviewed-by. No potential merge conflict is observed.
[1] https://lore.kernel.org/r/ZpTAI1mLZ1pfTnz8@debian
[2] 2e6506e1c4ee ("mm/migrate: fix deadlock in migrate_pages_batch() on large folios")
Thanks,
Gao Xiang
The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399:
Linux 6.11-rc4 (2024-08-18 13:17:27 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.11-rc5-fixes
for you to fetch changes up to 0005e01e1e875c5e27130c5e2ed0189749d1e08a:
erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails (2024-08-21 08:12:05 +0800)
----------------------------------------------------------------
Changes since last update:
- Allow large folios on compressed inodes;
- Fix invalid memory accesses if z_erofs_gbuf_growsize() partially fails;
- Two minor cleanups.
----------------------------------------------------------------
Gao Xiang (2):
erofs: allow large folios for compressed files
erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails
Hongzhen Luo (2):
erofs: simplify readdir operation
erofs: get rid of check_layout_compatibility()
Documentation/filesystems/erofs.rst | 2 +- fs/erofs/dir.c | 35 ++++++++++++----------------------- fs/erofs/inode.c | 18 ++++++++---------- fs/erofs/internal.h | 2 +- fs/erofs/super.c | 26 ++++++-------------------- fs/erofs/zutil.c | 3 ++- 6 files changed, 30 insertions(+), 56 deletions(-)
The pull request you sent on Wed, 21 Aug 2024 20:24:28 +0800:
The pull request you sent on Wed, 21 Aug 2024 20:24:28 +0800:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.gittags/erofs-for-6.11-rc5-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5c6154ffd40c5bca1eb01f9bf5a4d2b6d18d55bd
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html