[f2fs-dev] [PATCH] f2fs: don't over-report free space or inodes in statvfs

2025-05-13 Thread Chao Yu via Linux-f2fs-devel
This fixes an analogus bug that was fixed in modern filesystems: a) xfs in commit 4b8d867ca6e2 ("xfs: don't over-report free space or inodes in statvfs") b) ext4 in commit f87d3af74193 ("ext4: don't over-report free space or inodes in statvfs") where statfs can report misleading / incorrect informa

[f2fs-dev] [jaegeuk-f2fs:dev-test 188/191] fs/f2fs/super.c:5283:6: warning: unused variable 'i'

2025-05-13 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test head: 7274f75b0d876f1cc87349fe8e5c8b45f90695c5 commit: 33605141d92b1eb2a5e625a79abe35856a588662 [188/191] f2fs: switch to the new mount api config: i386-buildonly-randconfig-2003-20250513 (https://download.01

[f2fs-dev] [BUG] Five data races in f2fs, two potentially harmful

2025-05-13 Thread cen zhang
Hello maintainers, I would like to report five data race bugs we discovered in the F2FS filesystem on Linux kernel v6.14-rc4. These issues were identified using our data race detector. Among the five races, we believe that three are benign, and might be acceptable to annotate with `data_race()`.

[f2fs-dev] Spolupráce s dovozcem

2025-05-13 Thread Samuel Zeman via Linux-f2fs-devel
Dobrý den, zastupuji společnost specializující se na dovoz papírenského, školního a kancelářského zboží, kreativních potřeb, dekorací a sezónních (vánočních) produktů. V naší nabídce najdete až 3000 pečlivě vybraných produktů, které jsou ideální pro velkoobchodní prodej. V současnosti obsluhu

Re: [f2fs-dev] [PATCH V3 7/7] f2fs: switch to the new mount api

2025-05-13 Thread Chao Yu via Linux-f2fs-devel
On 4/24/25 01:08, Eric Sandeen wrote: > From: Hongbo Li > > The new mount api will execute .parse_param, .init_fs_context, .get_tree > and will call .remount if remount happened. So we add the necessary > functions for the fs_context_operations. If .init_fs_context is added, > the old .mount shou

Re: [f2fs-dev] [PATCH V3 7/7] f2fs: switch to the new mount api

2025-05-13 Thread Jaegeuk Kim via Linux-f2fs-devel
On 05/13, Chao Yu wrote: > On 5/13/25 10:19, Eric Sandeen wrote: > > On 5/11/25 10:43 PM, Chao Yu wrote: > >> On 5/8/25 23:59, Eric Sandeen wrote: > >>> On 5/8/25 4:19 AM, Chao Yu wrote: > > @@ -2645,21 +2603,11 @@ static int f2fs_remount(struct > > super_block *sb, int *flags, char *data)

Re: [f2fs-dev] [PATCH v2 2/2] f2fs: add f2fs_bug_on() in f2fs_quota_read()

2025-05-13 Thread Jaegeuk Kim via Linux-f2fs-devel
On 05/13, Chao Yu wrote: > mapping_read_folio_gfp() will return a folio, it should always be > uptodate, let's check folio uptodate status to detect any potenial > bug. > > Signed-off-by: Chao Yu > --- > v2: > - just add f2fs_bug_on(), get rid of error handling. > fs/f2fs/super.c | 6 ++ > 1

Re: [f2fs-dev] [PATCH V3 7/7] f2fs: switch to the new mount api

2025-05-13 Thread Jaegeuk Kim via Linux-f2fs-devel
On 04/23, Eric Sandeen wrote: > From: Hongbo Li > > The new mount api will execute .parse_param, .init_fs_context, .get_tree > and will call .remount if remount happened. So we add the necessary > functions for the fs_context_operations. If .init_fs_context is added, > the old .mount should remov

Re: [f2fs-dev] [PATCH V3 5/7] f2fs: separate the options parsing and options checking

2025-05-13 Thread Hongbo Li via Linux-f2fs-devel
On 2025/5/12 11:32, Chao Yu wrote: On 5/8/25 23:52, Eric Sandeen wrote: On 5/8/25 3:13 AM, Chao Yu wrote: On 4/24/25 01:08, Eric Sandeen wrote: From: Hongbo Li ... + if (ctx->qname_mask) { + for (i = 0; i < MAXQUOTAS; i++) { + if (!(ctx->qname_

Re: [f2fs-dev] [PATCH V3 5/7] f2fs: separate the options parsing and options checking

2025-05-13 Thread Hongbo Li via Linux-f2fs-devel
On 2025/5/8 23:52, Eric Sandeen wrote: On 5/8/25 3:13 AM, Chao Yu wrote: On 4/24/25 01:08, Eric Sandeen wrote: From: Hongbo Li ... + if (ctx->qname_mask) { + for (i = 0; i < MAXQUOTAS; i++) { + if (!(ctx->qname_mask & (1 << i))) +

[f2fs-dev] [jaegeuk-f2fs:dev-test 186/191] include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int'

2025-05-13 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test head: 869734b9a4ef9440e80dba629c688ed3277a7779 commit: 5cefc0eae8b492a1eaa645f11d0dbe362d8d8700 [186/191] f2fs: separate the options parsing and options checking config: arm-randconfig-2006-20250514 (https://down

Re: [f2fs-dev] [PATCH V3 7/7] f2fs: switch to the new mount api

2025-05-13 Thread Hongbo Li via Linux-f2fs-devel
On 2025/5/13 16:59, Chao Yu wrote: On 4/24/25 01:08, Eric Sandeen wrote: From: Hongbo Li The new mount api will execute .parse_param, .init_fs_context, .get_tree and will call .remount if remount happened. So we add the necessary functions for the fs_context_operations. If .init_fs_context

Re: [f2fs-dev] [PATCH V3 7/7] f2fs: switch to the new mount api

2025-05-13 Thread Chao Yu via Linux-f2fs-devel
On 5/14/25 10:33, Hongbo Li wrote: > > > On 2025/5/13 16:59, Chao Yu wrote: >> On 4/24/25 01:08, Eric Sandeen wrote: >>> From: Hongbo Li >>> >>> The new mount api will execute .parse_param, .init_fs_context, .get_tree >>> and will call .remount if remount happened. So we add the necessary >>> fu

[f2fs-dev] [Bug 220124] New: overlayfs

2025-05-13 Thread bugzilla-daemon--- via Linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=220124 Bug ID: 220124 Summary: overlayfs Product: File System Version: 2.5 Hardware: All OS: Linux Status: NEW Severity: normal Priority: P3 C

[f2fs-dev] [Bug 220124] [deletion request]

2025-05-13 Thread bugzilla-daemon--- via Linux-f2fs-devel
https://bugzilla.kernel.org/show_bug.cgi?id=220124 w5...@outlook.com changed: What|Removed |Added Status|NEW |RESOLVED Component|f2fs

Re: [f2fs-dev] [PATCH V3 7/7] f2fs: switch to the new mount api

2025-05-13 Thread Hongbo Li via Linux-f2fs-devel
On 2025/5/14 12:03, Chao Yu wrote: On 5/14/25 10:33, Hongbo Li wrote: On 2025/5/13 16:59, Chao Yu wrote: On 4/24/25 01:08, Eric Sandeen wrote: From: Hongbo Li The new mount api will execute .parse_param, .init_fs_context, .get_tree and will call .remount if remount happened. So we add th