Re: [f2fs-dev] [RFC PATCH 0/5] Add inline tail support

2024-07-12 Thread Chao Yu
On 2024/7/10 9:33, Wu Bo wrote: The inode in F2FS occupies an entire 4k block. For many small files, this means they consume much more space than their actual size. Therefore, there is significant potential to better utilize the inode block space. Currently, F2FS has two features to make use of

Re: [f2fs-dev] [PATCH] f2fs-tools: cleanup is_sit_bitmap_set

2024-07-12 Thread Chao Yu
On 2024/7/12 10:01, Sheng Yong wrote: Remove redundant function definition of is_sit_bitmap_set() and export it. Signed-off-by: Sheng Yong Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net http

Re: [f2fs-dev] [PATCH] f2fs-tools: show device info of sb->devs

2024-07-12 Thread Chao Yu
On 2024/7/12 10:01, Sheng Yong wrote: Show multidevice infomation like the follwoing: devs[i].path[meta.img] devs[i].total_segments [0x 3f : 63] devs[i].path[data.img] devs[i].total_segments

Re: [f2fs-dev] [PATCH] fsck.f2fs: check all-zero inline data with helper is_zeroed

2024-07-12 Thread Chao Yu
On 2024/7/12 10:01, Sheng Yong wrote: Signed-off-by: Sheng Yong Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Re: [f2fs-dev] [PATCH] fsck.f2fs: fix checking wp of all devices

2024-07-12 Thread Chao Yu
On 2024/7/12 10:01, Sheng Yong wrote: For zoned model, the first device (devices[0]) is not zoned device, whose zoned_model is not F2FS_ZONED_HM. Let's skip it and check write pointer of left devices continuously. Signed-off-by: Sheng Yong Reviewed-by: Chao Yu Thanks,

Re: [f2fs-dev] [PATCH] fsck.f2fs: update superblock if invalid

2024-07-12 Thread Chao Yu
On 2024/7/12 10:01, Sheng Yong wrote: If a superblock failed in sanity check, it should be fixed. This patch add a new state `sb_invalid' to tell fsck needs to update superblock at the end of all checkings. This patch also cleans up force_stop, abnormal_stop, fs_errors and sb_invalid by merging

[f2fs-dev] [PATCH] f2fs: don't traverse directory blocks after EOF

2024-07-12 Thread Chao Yu
All directory blocks are within the scope of i_size, so let's limit the end_block to just check valid dirent blocks. Meanwhile, it uses dir_blocks() instead of variable for cleanup in __f2fs_find_entry(). Signed-off-by: Chao Yu --- fs/f2fs/dir.c | 6 -- 1 file changed, 4 insertions(+), 2 de

Re: [f2fs-dev] [PATCH v4] f2fs:Add write priority option based on zone UFS

2024-07-12 Thread Chao Yu
On 2024/7/10 11:06, Liao Yuanhong wrote: Currently, we are using a mix of traditional UFS and zone UFS to support some functionalities that cannot be achieved on zone UFS alone. However, there are some issues with this approach. There exists a significant performance difference between traditiona