erofs: allow large folios for compressed files
authorGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 19 Aug 2024 02:52:07 +0000 (10:52 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Mon, 19 Aug 2024 08:10:04 +0000 (16:10 +0800)
commite080a26725fb36f535f22ea42694c60ab005fb2e
treed64c9120be9c82e33db0a0b85f2565667139c2c8
parent2c534624ae70100aeea0b5800b0f3768b2fd3cf0
erofs: allow large folios for compressed files

As commit 2e6506e1c4ee ("mm/migrate: fix deadlock in
migrate_pages_batch() on large folios") has landed upstream, large
folios can be safely enabled for compressed inodes since all
prerequisites have already landed in 6.11-rc1.

Stress tests has been running on my fleet for over 20 days without any
regression.  Additionally, users [1] have requested it for months.
Let's allow large folios for EROFS full cases upstream now for wider
testing.

[1] https://lore.kernel.org/r/CAGsJ_4wtE8OcpinuqVwG4jtdx6Qh5f+TON6wz+4HMCq=A2qFcA@mail.gmail.com

Cc: Barry Song <21cnbao@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
[ Gao Xiang: minor commit typo fixes. ]
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240819025207.3808649-1-hsiangkao@linux.alibaba.com
Documentation/filesystems/erofs.rst
fs/erofs/inode.c