Re: [f2fs-dev] [PATCH v12 4/4] ext4: Use generic casefolding support

2020-09-21 Thread Daniel Rosenberg via Linux-f2fs-devel
On Mon, Sep 21, 2020 at 11:29 AM Eric Biggers wrote: > > On Sun, Sep 20, 2020 at 09:10:57PM -0400, Gabriel Krisman Bertazi wrote: > > Daniel Rosenberg writes: > > > > > This switches ext4 over to the generic support provided in > > > the previous patch. > > > > > > Since casefolded dentries behav

Re: [f2fs-dev] [PATCH v3 00/13] fscrypt: improve file creation flow

2020-09-21 Thread Eric Biggers
On Wed, Sep 16, 2020 at 09:11:23PM -0700, Eric Biggers wrote: > Hello, > > This series reworks the implementation of creating new encrypted files > by introducing new helper functions that allow filesystems to set up the > inodes' keys earlier, prior to taking too many filesystem locks. > > This

Re: [f2fs-dev] [PATCH v12 4/4] ext4: Use generic casefolding support

2020-09-21 Thread Eric Biggers
On Sun, Sep 20, 2020 at 09:10:57PM -0400, Gabriel Krisman Bertazi wrote: > Daniel Rosenberg writes: > > > This switches ext4 over to the generic support provided in > > the previous patch. > > > > Since casefolded dentries behave the same in ext4 and f2fs, we decrease > > the maintenance burden b

Re: [f2fs-dev] [PATCH -next] f2fs: add trace exit in exception path

2020-09-21 Thread Chao Yu
On 2020/9/21 20:45, Qilong Zhang wrote: From: Zhang Qilong Missing the trace exit in f2fs_sync_dirty_inodes Signed-off-by: Zhang Qilong Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https

[f2fs-dev] [PATCH 2/2] f2fs: relocate blkzoned feature check

2020-09-21 Thread Chao Yu
Relocate blkzoned feature check into parse_options() like other feature check. Signed-off-by: Chao Yu --- fs/f2fs/super.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index e0423b091b30..dc3edc9a5640 100644 --- a/

[f2fs-dev] [PATCH 1/2] f2fs: do sanity check on zoned block device path

2020-09-21 Thread Chao Yu
sbi->devs would be initialized only if image enables multiple device feature or blkzoned feature, if blkzoned feature flag was set by fuzz in non-blkzoned device, we will suffer below panic: get_zone_idx fs/f2fs/segment.c:4892 [inline] f2fs_usable_zone_blks_in_seg fs/f2fs/segment.c:4943 [inline] f

[f2fs-dev] [PATCH -next] f2fs: add trace exit in exception path

2020-09-21 Thread Qilong Zhang
From: Zhang Qilong Missing the trace exit in f2fs_sync_dirty_inodes Signed-off-by: Zhang Qilong --- fs/f2fs/checkpoint.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 6059ce3758d8..3c6fd7a2a819 100644 --- a/fs/f2fs/ch

[f2fs-dev] WARNING in f2fs_is_valid_blkaddr

2020-09-21 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:325d0eab Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=154f90d390 kernel config: https://syzkaller.appspot.com/x/.config?x=b12e84189082991c dashboard lin

Re: [f2fs-dev] [PATCH] f2fs: remove unused check on nid

2020-09-21 Thread Chao Yu
Hi Xiaojun, On 2020/9/21 14:19, Wang Xiaojun wrote: The case where nid is 0 will be checked in f2fs_check_nid_range. Remove the unused check. Signed-off-by: Wang Xiaojun --- fs/f2fs/node.c | 8 1 file changed, 8 deletions(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index cb1b5

[f2fs-dev] general protection fault in f2fs_usable_blks_in_seg

2020-09-21 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:b652d2a5 Add linux-next specific files for 20200918 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=103ab84b90 kernel config: https://syzkaller.appspot.com/x/.config?x=3cf0782933432b43 dashboard