Re: [f2fs-dev] [PATCH 00/60] f2fs folio conversions for 6.17

2025-07-22 Thread Chao Yu via Linux-f2fs-devel
Hi Jaegeuk, On 7/9/25 01:02, Matthew Wilcox (Oracle) wrote: > Some more folio conversions for f2fs. Again, I have checked these patches > build, but otherwise they are untested. There are three inline functions > in fscrypt that I change to take a const struct folio pointer instead > of a mutabl

[f2fs-dev] [PATCH v2 2/2] f2fs: directly add newly allocated pre-dirty nat entry to dirty set list

2025-07-22 Thread wangzijie
When we need to alloc nat entry and set it dirty, we can directly add it to dirty set list(or initialize its list_head for new_ne) instead of adding it to clean list and make a move. Introduce init_dirty flag to do it. Signed-off-by: wangzijie --- fs/f2fs/node.c | 37

[f2fs-dev] [PATCH v2 1/2] f2fs: avoid redundant clean nat entry move in lru list

2025-07-22 Thread wangzijie
__lookup_nat_cache follows LRU manner to move clean nat entry, when nat entries are going to be dirty, no need to move them to tail of lru list. Introduce a parameter 'for_dirty' to avoid it. Signed-off-by: wangzijie --- v2: - followed by Jaegeuk's suggestion to add a parameter in __lookup_nat_ca