[f2fs-dev] [PATCH] f2fs: unify the error handling of f2fs_is_valid_blkaddr

2023-11-30 Thread Zhiguo Niu
unify the error handling of f2fs_is_valid_blkaddr and remove some redundant codes in f2fs_cache_compressed_page. Signed-off-by: Zhiguo Niu --- fs/f2fs/checkpoint.c | 6 +- fs/f2fs/compress.c | 8 +++- fs/f2fs/data.c | 3 ++- fs/f2fs/extent_cache.c | 7 --- fs/f2fs/f

[f2fs-dev] [PATCH] man: Add description for mkfs -b option

2023-11-30 Thread Daniel Rosenberg via Linux-f2fs-devel
Describes the block size option -b. This sets the block size, which is restricted to powers of 2. The linux kernel currently requires that the block size be equal to the page size to mount. Change-Id: I27ec4f909f8d27327b48373f0a4a4e8593626804 Signed-off-by: Daniel Rosenberg --- man/mkfs.f2fs.8 |

[f2fs-dev] [PATCH] f2fs-tools: support zoned ufs devices

2023-11-30 Thread Daeho Jeong
From: Daeho Jeong Support zoned ufs devices. 1. implemented out-place updates 2. keep roll forward recovery intact 3. open block device files with O_SYNC to comply with zoned device's write rules Signed-off-by: Daeho Jeong --- fsck/defrag.c | 2 +- fsck/dir.c | 47 +++ f

Re: [f2fs-dev] [PATCH v2] f2fs: add support for an i_version counter

2023-11-30 Thread Matthew Wilcox
On Thu, Nov 30, 2023 at 02:04:09AM -0700, Yangtao Li wrote: > NFSv4 mandates a change attribute to avoid problems with timestamp > granularity, which Linux implements using the i_version counter. This is > particularly important when the underlying filesystem is fast. > > BTW introduce a new mount

Re: [f2fs-dev] [PATCH] f2fs: sysfs: support discard_io_aware

2023-11-30 Thread patchwork-bot+f2fs
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Wed, 22 Nov 2023 22:47:15 +0800 you wrote: > It gives a way to enable/disable IO aware feature for background > discard, so that we can tune background discard more precisely > based on undiscard condition. e.g. force to

Re: [f2fs-dev] [PATCH 1/2] f2fs: introduce tracepoint for f2fs_rename()

2023-11-30 Thread patchwork-bot+f2fs
Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Tue, 28 Nov 2023 17:31:29 +0800 you wrote: > This patch adds tracepoints for f2fs_rename(). > > Signed-off-by: Chao Yu > --- > fs/f2fs/namei.c | 16 ++--- > include/trace/events/f2fs.h | 69 +++

[f2fs-dev] Patchwork summary for: f2fs

2023-11-30 Thread patchwork-bot+f2fs
Hello: The following patches were marked "accepted", because they were applied to jaegeuk/f2fs.git (dev): Series: [f2fs-dev,1/3] f2fs: clean up w/ dotdot_name Submitter: Chao Yu Committer: Jaegeuk Kim Patchwork: https://patchwork.kernel.org/project/f2fs/list/?series=801528 Lore link: ht

Re: [f2fs-dev] [PATCH] f2fs: skip adding a discard command if exists

2023-11-30 Thread patchwork-bot+f2fs
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Tue, 14 Nov 2023 13:24:14 -0800 you wrote: > When recovering zoned UFS, sometimes we add the same zone to discard multiple > times. Simple workaround is to bypass adding it. > > Signed-off-by: Jaegeuk Kim > --- > fs/f2

Re: [f2fs-dev] [PATCH 1/3] f2fs: clean up w/ dotdot_name

2023-11-30 Thread patchwork-bot+f2fs
Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Thu, 16 Nov 2023 14:25:54 +0800 you wrote: > Just cleanup, no logic changes. > > Signed-off-by: Chao Yu > --- > fs/f2fs/namei.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Here is the summary with li

Re: [f2fs-dev] [PATCH] f2fs: fix to avoid dirent corruption

2023-11-30 Thread patchwork-bot+f2fs
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Tue, 28 Nov 2023 17:25:16 +0800 you wrote: > As Al reported in link[1]: > > f2fs_rename() > ... > if (old_dir != new_dir && !whiteout) > f2fs_set_link(old_inode, old_dir_entry, >

[f2fs-dev] [PATCH] f2fs: compress: do cleanup in f2fs_truncate_partial_cluster()

2023-11-30 Thread Yangtao Li via Linux-f2fs-devel
Remove unnecessary code logic. Signed-off-by: Yangtao Li --- fs/f2fs/compress.c | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c index 36e5dab6baae..de55c266509a 100644 --- a/fs/f2fs/compress.c +++ b/fs/f

[f2fs-dev] [PATCH v2] f2fs: add support for an i_version counter

2023-11-30 Thread Yangtao Li via Linux-f2fs-devel
NFSv4 mandates a change attribute to avoid problems with timestamp granularity, which Linux implements using the i_version counter. This is particularly important when the underlying filesystem is fast. BTW introduce a new mount option to enable the iversion functionality, and disabling it by defa