Re: [f2fs-dev] fun with d_invalidate() vs. d_splice_alias() was Re: [PATCH v6 0/9] Support negative dentries on case-insensitive ext4 and f2fs

2023-11-28 Thread Al Viro
On Mon, Nov 27, 2023 at 06:38:43AM +, Al Viro wrote: > > FWIW, I suspect that the right answer would be along the lines of > > * if d_splice_alias() does move an exsiting (attached) alias in > > place, it ought to dissolve all mountpoints in subtree being moved. > > There might be subtleti

Re: [f2fs-dev] (2) [PATCH v1] f2fs: New victim selection for GC

2023-11-28 Thread Yonggil Song
>Hi Yonggil, > >On 2023/10/26 17:18, Yonggil Song wrote: >> Overview >> >> >> Introduce a new way to select the data section first when selecting a >> victim in foreground GC. This victim selection method works when the >> prefer_data_victim mount option is enabled. If foreground GC migra

Re: [f2fs-dev] (2) (2) [PATCH v1] f2fs: New victim selection for GC

2023-11-28 Thread Yonggil Song
On 11/20, Yonggil Song wrote: > > >Hi Yonggil, > > > > > >On 10/26, Yonggil Song wrote: > > >> Overview > > >> > > >> > > >> Introduce a new way to select the data section first when selecting a > > >> victim in foreground GC. This victim selection method works when the > > >> prefer_data

Re: [f2fs-dev] (2) [PATCH v1] f2fs: New victim selection for GC

2023-11-28 Thread Jaegeuk Kim
On 11/20, Yonggil Song wrote: > >Hi Yonggil, > > > >On 10/26, Yonggil Song wrote: > >> Overview > >> > >> > >> Introduce a new way to select the data section first when selecting a > >> victim in foreground GC. This victim selection method works when the > >> prefer_data_victim mount opti

Re: [f2fs-dev] [PATCH 1/1] f2fs: fix fallocate failed under pinned block situation

2023-11-28 Thread Wu Bo
On 2023/11/28 14:22, Chao Yu wrote: On 2023/11/17 7:34, Wu Bo wrote: On 2023/11/11 12:49, Chao Yu wrote: On 2023/11/8 21:48, Wu Bo wrote: On 2023/11/7 22:39, Chao Yu wrote: On 2023/10/30 17:40, Wu Bo wrote: If GC victim has pinned block, it can't be recycled. And if GC is foreground running

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

2023-11-28 Thread Jan Kara
On Tue 28-11-23 17:25:16, Chao Yu wrote: > As Al reported in link[1]: > > f2fs_rename() > ... > if (old_dir != new_dir && !whiteout) > f2fs_set_link(old_inode, old_dir_entry, > old_dir_page, new_dir); > else > f2fs_put_p

[f2fs-dev] [PATCH 2/2] f2fs: show i_mode in trace_f2fs_new_inode()

2023-11-28 Thread Chao Yu
This patch supports to show i_mode field in trace_f2fs_new_inode(). Signed-off-by: Chao Yu --- include/trace/events/f2fs.h | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h index 36d9e29ca3c5..479d26e

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

2023-11-28 Thread Chao Yu
This patch adds tracepoints for f2fs_rename(). Signed-off-by: Chao Yu --- fs/f2fs/namei.c | 16 ++--- include/trace/events/f2fs.h | 69 + 2 files changed, 80 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index a7

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

2023-11-28 Thread Chao Yu
As Al reported in link[1]: f2fs_rename() ... if (old_dir != new_dir && !whiteout) f2fs_set_link(old_inode, old_dir_entry, old_dir_page, new_dir); else f2fs_put_page(old_dir_page, 0); You want correct inumber i

[f2fs-dev] Bezplatná 60denní zkušební verze: Vylepšete své výrobní procesy

2023-11-28 Thread Michal Rmoutil via Linux-f2fs-devel
Dobré ráno Znáte systém, který nejen hlídá, ale i optimalizuje výrobu a přináší stálý příjem? Díky nejnovějším technologiím a analýze dat naše řešení identifikuje oblasti optimalizace, zvýšení efektivity a snížení nákladů. Naši klienti zaznamenali nárůst příjmů v průměru o 20 % a dnes si to mů