[f2fs-dev] [PATCH] mkfs.f2fs: support fsverity feature

2018-03-28 Thread Jaegeuk Kim
From: Jaegeuk Kim This is aligned to f2fs which reserves fsverity feature bit. Signed-off-by: Jaegeuk Kim --- fsck/mount.c| 3 +++ include/f2fs_fs.h | 12 mkfs/f2fs_format_main.c | 2 ++ 3 files changed, 13

Re: [f2fs-dev] [PATCH 1/4] mkfs.f2fs: update extension lists

2018-03-28 Thread Chao Yu
Hi Park, On 2018/3/29 10:18, Ju Hyung Park wrote: > Hi Chao. > >> Do you mean we need add a new option to enable common list? > > No. I meant to move the list to the kernelspace's fs/f2fs or > include/linux/f2fs_fs.h. I think this is real hardcoded one, which will be hard to configure with if

[f2fs-dev] [RFC PATCH v2] mkfs.f2fs: use 512B as the sector size criterion

2018-03-28 Thread Junling Zheng
Use 512 bytes as the sector size criterion while specifying the amount of sectors passed to mkfs. Signed-off-by: Junling Zheng --- Changes from v1: - specify the sector size criterion in man page - replace "Warning" with "Info" while wanted size is over device size

Re: [f2fs-dev] [RFC PATCH] mkfs.f2fs: use 512B as the sector size criterion

2018-03-28 Thread Jaegeuk Kim
On 03/29, Junling Zheng wrote: > Hi Jaegeuk, > > On 2018/3/29 4:30, Jaegeuk Kim wrote: > > Hi Junling, > > > > On Wed, Mar 28, 2018 at 2:04 AM, Junling Zheng > > wrote: > > > > Use 512 bytes as the sector size criterion while

Re: [f2fs-dev] [PATCH 1/4] mkfs.f2fs: update extension lists

2018-03-28 Thread Ju Hyung Park
Hi Chao. > Do you mean we need add a new option to enable common list? No. I meant to move the list to the kernelspace's fs/f2fs or include/linux/f2fs_fs.h. This eliminates the concern of the list getting too big and exceeding the 64 limit, and we can modify the list upon shipping new versions

Re: [f2fs-dev] [RFC PATCH] mkfs.f2fs: use 512B as the sector size criterion

2018-03-28 Thread Junling Zheng
Hi Jaegeuk, On 2018/3/29 4:30, Jaegeuk Kim wrote: > Hi Junling, > > On Wed, Mar 28, 2018 at 2:04 AM, Junling Zheng > wrote: > > Use 512 bytes as the sector size criterion while specifying the > amount of sectors passed to mkfs.

[f2fs-dev] [PATCH] f2fs: reserve bits for fs-verity

2018-03-28 Thread Eric Biggers via Linux-f2fs-devel
Reserve an F2FS feature flag and inode flag for fs-verity. This is an in-development feature that is planned be discussed at LSF/MM 2018 [1]. It will provide file-based integrity and authenticity for read-only files. Most code will be in a filesystem-independent module, with smaller changes

[f2fs-dev] [RFC PATCH] mkfs.f2fs: use 512B as the sector size criterion

2018-03-28 Thread Junling Zheng
Use 512 bytes as the sector size criterion while specifying the amount of sectors passed to mkfs. Signed-off-by: Junling Zheng --- lib/libf2fs.c | 11 --- mkfs/f2fs_format_main.c | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git