Re: [f2fs-dev] [PATCH] dump.f2fs: Add help description for -rfyPo

2024-06-18 Thread Daniel Rosenberg via Linux-f2fs-devel
On Tue, Jun 18, 2024 at 6:30 PM Chao Yu wrote: > > On 2024/6/19 9:25, Daniel Rosenberg wrote: > > These were described in man pages, but not within the help message. > > > > Signed-off-by: Daniel Rosenberg > > Can you please check below patch? > > https://git.kernel.org/pub/scm/linux/kernel/git/j

Re: [f2fs-dev] [PATCH] dump.f2fs: Add help description for -rfyPo

2024-06-18 Thread Chao Yu
On 2024/6/19 9:25, Daniel Rosenberg wrote: These were described in man pages, but not within the help message. Signed-off-by: Daniel Rosenberg Can you please check below patch? https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/commit/?h=dev-test&id=c07b0954506a159f68358e

[f2fs-dev] [PATCH] dump.f2fs: Add help description for -rfyPo

2024-06-18 Thread Daniel Rosenberg via Linux-f2fs-devel
These were described in man pages, but not within the help message. Signed-off-by: Daniel Rosenberg --- fsck/main.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fsck/main.c b/fsck/main.c index 6edc902..901fa7a 100644 --- a/fsck/main.c +++ b/fsck/main.c @@ -97,6 +97,11 @@ void dump_us

Re: [f2fs-dev] [PATCH] f2fs: assign CURSEG_ALL_DATA_ATGC if blkaddr is valid

2024-06-18 Thread Chao Yu
On 2024/6/18 10:23, Jaegeuk Kim wrote: mkdir /mnt/test/comp f2fs_io setflags compression /mnt/test/comp dd if=/dev/zero of=/mnt/test/comp/testfile bs=16k count=1 truncate --size 13 /mnt/test/comp/testfile In the above scenario, we can get a BUG_ON. kernel BUG at fs/f2fs/segment.c:3589! Call

Re: [f2fs-dev] [PATCH] f2fs-tools: fix do_set_verity ioctl fail issue

2024-06-18 Thread Chao Yu
On 2024/6/17 15:11, Xiuhong Wang wrote: When using the f2fs_io tool to set_verity, it will fail as follows: unisc:/data # ./f2fs_io set_verity file FS_IOC_ENABLE_VERITY: Inappropriate ioctl for device this is because commit: 95ae251fe828 ("f2fs: add fs-verity support"), the passed parameters do n

Re: [f2fs-dev] [PATCH] f2fs-tools: fix do_set_verity ioctl fail issue

2024-06-18 Thread Chao Yu
On 2024/6/18 13:35, Xiuhong Wang wrote: Chao Yu 于2024年6月18日周二 11:04写道: On 2024/6/17 15:11, Xiuhong Wang wrote: When using the f2fs_io tool to set_verity, it will fail as follows: unisc:/data # ./f2fs_io set_verity file FS_IOC_ENABLE_VERITY: Inappropriate ioctl for device this is because comm

[f2fs-dev] [PATCH v3] f2fs: get rid of buffer_head use

2024-06-18 Thread Chao Yu
Convert to use folio and related functionality. Cc: Matthew Wilcox Signed-off-by: Chao Yu --- - support large folio - use bd_mapping instead of bd_inode->i_mapping fs/f2fs/data.c | 1 - fs/f2fs/f2fs.h | 11 +- fs/f2fs/file.c | 1 - fs/f2fs/inode.c | 1 - fs/f2fs/super.c | 93 +