[f2fs-dev] [PATCH] f2fs_io: support defrag_file

2019-07-27 Thread Chao Yu
Support 'defrag_file' sub command to trigger file based defragment via ioctl in f2fs. Signed-off-by: Chao Yu --- tools/f2fs_io/f2fs_io.c | 41 + 1 file changed, 41 insertions(+) diff --git a/tools/f2fs_io/f2fs_io.c b/tools/f2fs_io/f2fs_io.c index 288c2f2.

[f2fs-dev] [PATCH v2] f2fs_io: support defrag_file

2019-07-27 Thread Chao Yu
From: Chao Yu Support 'defrag_file' sub command to trigger file based defragment via ioctl in f2fs. Signed-off-by: Chao Yu --- v2: - remove unneeded debug info. - fix compile warning. tools/f2fs_io/f2fs_io.c | 41 + 1 file changed, 41 insertions(+) diff

Re: [f2fs-dev] [PATCH v7 10/17] fs-verity: implement FS_IOC_ENABLE_VERITY ioctl

2019-07-27 Thread Theodore Y. Ts'o
On Mon, Jul 22, 2019 at 09:50:54AM -0700, Eric Biggers wrote: > From: Eric Biggers > > Add a function for filesystems to call to implement the > FS_IOC_ENABLE_VERITY ioctl. This ioctl enables fs-verity on a file. > > See the "FS_IOC_ENABLE_VERITY" section of > Documentation/filesystems/fsverity

Re: [f2fs-dev] [PATCH v4 1/3] fs: Reserve flag for casefolding

2019-07-27 Thread Chao Yu
On 2019-7-24 7:05, Daniel Rosenberg via Linux-f2fs-devel wrote: > In preparation for including the casefold feature within f2fs, elevate > the EXT4_CASEFOLD_FL flag to FS_CASEFOLD_FL. > > Signed-off-by: Daniel Rosenberg Reviewed-by: Chao Yu Thanks, ___

Re: [f2fs-dev] [PATCH v4 2/3] f2fs: include charset encoding information in the superblock

2019-07-27 Thread Chao Yu
On 2019-7-24 7:05, Daniel Rosenberg via Linux-f2fs-devel wrote: > Add charset encoding to f2fs to support casefolding. It is modeled after > the same feature introduced in commit c83ad55eaa91 ("ext4: include charset > encoding information in the superblock") > > Currently this is not compatible wi

Re: [f2fs-dev] [PATCH v4 3/3] f2fs: Support case-insensitive file name lookups

2019-07-27 Thread Chao Yu
On 2019-7-24 7:05, Daniel Rosenberg via Linux-f2fs-devel wrote: > /* Flags that are appropriate for regular files (all but dir-specific ones). > */ > #define F2FS_REG_FLMASK (~(F2FS_DIRSYNC_FL | > F2FS_PROJINHERIT_FL)) We missed to add F2FS_CASEFOLD_FL here to exclude it in F2FS_R