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
---
v3:
- followed by Chao's suggestion to clean up c
__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
---
v3:
- followed by Chao's suggestion to update comments
v2:
- followed by Jae
Hi Chao
Chao Yu via Linux-f2fs-devel
于2025年7月25日周五 13:51写道:
>
> It provides a way to disable linear lookup fallback during mkfs.
>
> Behavior summary:
> Android Distro
> By default disabledenabled
>
> Android case:
>
> 1.1) Disable linear looku
On 7/28/25 09:05, Zhiguo Niu wrote:
> Hi Chao
>
> Chao Yu via Linux-f2fs-devel
> 于2025年7月25日周五 13:51写道:
>>
>> It provides a way to disable linear lookup fallback during mkfs.
>>
>> Behavior summary:
>> Android Distro
>> By default disabledenabl
It provides a way to disable linear lookup fallback during mkfs.
Behavior summary:
Android Distro
By default disabledenabled
Android case:
1.1) Disable linear lookup:
- mkfs.f2fs -f -g android -O casefold -C utf8:hashonly /dev/vdb
- dump.f2fs