Re: [f2fs-dev] [PATCH] f2fs: add some sysfs nodes for segment

2022-07-12 Thread Chao Yu
On 2022/7/12 9:43, Jaegeuk Kim wrote: On 07/06, Guowei Du wrote: From: duguowei There are two ways to show meta segment information, one is by dump.f2fs, another is by sysfs node. But, sometimes dump needs root privilege,So adding a few sysfs nodes. If this is used for debug, how about check

[f2fs-dev] [PATCH] f2fs: invalidate meta pages only for post_read required inode

2022-07-12 Thread Chao Yu
After commit e3b49ea36802 ("f2fs: invalidate META_MAPPING before IPU/DIO write"), invalidate_mapping_pages() will be called to avoid race condition in between IPU/DIO and readahead for GC. However, readahead flow is only used for post_read required inode, so this patch adds check condition to avoi

Re: [f2fs-dev] [PATCH v4] f2fs: fix to do sanity check on total_data_blocks

2022-07-12 Thread Matteo Croce
On Fri, 6 May 2022 09:33:06 +0800 Chao Yu wrote: > As Yanming reported in bugzilla: > > https://bugzilla.kernel.org/show_bug.cgi?id=215916 > > The kernel message is shown below: > > kernel BUG at fs/f2fs/segment.c:2560! > Call Trace: > allocate_segment_by_default+0x228/0x440 > f2fs_allocate

[f2fs-dev] [Bug 215916] kernel BUG at fs/f2fs/segment.c:2560!

2022-07-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215916 Matteo Croce (rootki...@yahoo.it) changed: What|Removed |Added CC||rootki...@yahoo.it --

Re: [f2fs-dev] [PATCH v4] f2fs: fix to do sanity check on total_data_blocks

2022-07-12 Thread Chao Yu
On 2022/7/13 7:22, Matteo Croce wrote: On Fri, 6 May 2022 09:33:06 +0800 Chao Yu wrote: As Yanming reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=215916 The kernel message is shown below: kernel BUG at fs/f2fs/segment.c:2560! Call Trace: allocate_segment_by_default+0x2