[GIT PULL] erofs fixes for 6.1-rc2
From: Gao Xiang
Date: Tue Oct 18 2022 - 05:45:45 EST
(sorry, forgot to send to related mailing lists... resend now)
Hi Linus,
Could you consider these fixes for 6.1-rc2?
There are some bugs reported these days and the following patches
address them.
Some issues looks trivial but the compressed data deduplication one
can only be reproduced with the stress test for almost two weeks.
Anyway, I think all of them needs to be fixed immediately and details
are shown as below. All commits have been in linux-next and no merge
conflicts.
Thanks,
Gao Xiang
The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:
Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.1-rc2-fixes
for you to fetch changes up to ce4b815686573bef82d5ee53bf6f509bf20904dc:
erofs: protect s_inodes with s_inode_list_lock for fscache (2022-10-17 14:57:57 +0800)
----------------------------------------------------------------
Changes since last update:
- Fix illegal unmapped accesses when initializing compressed inodes;
- Fix up very rare hung on page lock after enabling compressed data
deduplication;
- Fix up inplace decompression success rate;
- Take s_inode_list_lock to protect sb->s_inodes for fscache shared
domain.
----------------------------------------------------------------
Dawei Li (1):
erofs: protect s_inodes with s_inode_list_lock for fscache
Gao Xiang (2):
erofs: shouldn't churn the mapping page for duplicated copies
erofs: fix up inplace decompression success rate
Yue Hu (1):
erofs: fix illegal unmapped accesses in z_erofs_fill_inode_lazy()
fs/erofs/fscache.c | 3 +++
fs/erofs/zdata.c | 17 +++++++----------
fs/erofs/zdata.h | 6 +++---
fs/erofs/zmap.c | 22 ++++++++++------------
4 files changed, 23 insertions(+), 25 deletions(-)