Re: [f2fs-dev] Compressed files & the page cache

2025-07-20 Thread Barry Song
On Wed, Jul 16, 2025 at 8:28 AM Gao Xiang wrote: > > > > On 2025/7/16 07:32, Gao Xiang wrote: > > Hi Matthew, > > > > On 2025/7/16 04:40, Matthew Wilcox wrote: > >> I've started looking at how the page cache can help filesystems handle > >> compressed data better. Feedback would be appreciated!

[f2fs-dev] [PATCH] f2fs: don't break allocation when crossing contiguous sections

2025-07-20 Thread Chao Yu via Linux-f2fs-devel
Commit 0638a3197c19 ("f2fs: avoid unused block when dio write in LFS mode") has fixed unused block issue for dio write in lfs mode. However, f2fs_map_blocks() may break and return smaller extent when last allocated block locates in the end of section, even allocator can allocate contiguous blocks

[f2fs-dev] [PATCH] f2fs: zone: wait for inflight dio completion, excluding pinned files

2025-07-20 Thread yohan.joung
pinfile is excluded as it operates with direct I/O Signed-off-by: yohan.joung --- fs/f2fs/file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 4039ccb5022c..cac8c9650a7a 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -4844,7 +484

Re: [f2fs-dev] Compressed files & the page cache

2025-07-20 Thread Gao Xiang
Hi Barry, On 2025/7/21 09:02, Barry Song wrote: On Wed, Jul 16, 2025 at 8:28 AM Gao Xiang wrote: ... ... high-order folios can cause side effects on embedded devices like routers and IoT devices, which still have MiBs of memory (and I believe this won't change due to their use cases) but

[f2fs-dev] [Bug 220321] F2FS: workqueue: WQ_MEM_RECLAIM writeback:wb_workfn is flushing !WQ_MEM_RECLAIM events_unbound:quota_release_workfn

2025-07-20 Thread bugzilla-daemon--- via Linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=220321 --- Comment #5 from SEO HOYOUNG (hy50@samsung.com) --- Hi, I uploaded to mainline fix patch. But I do not know it is right. https://lore.kernel.org/linux-scsi/20250721064024.113841-1-hy50@samsung.com/T/#u I thought of another way, how ab

Re: [f2fs-dev] Compressed files & the page cache

2025-07-20 Thread Barry Song
On Wed, Jul 16, 2025 at 7:32 AM Gao Xiang wrote: [...] > > I don't see this will work for EROFS because EROFS always supports > variable uncompressed extent lengths and that will break typical > EROFS use cases and on-disk formats. > > Other thing is that large order folios (physical consecutive)