Re: [f2fs-dev] [PATCH v2] f2fs: avoid to create an empty string as the extension_list

2021-07-09 Thread Chao Yu
On 2021/7/9 16:34, Wang Xiaojun wrote: When creating a file, we need to set the temperature based on extension_list. If the empty string is a valid extension_list, the is_extension_exist will always returns true, which affects the separation of hot and cold. Signed-off-by: Wang Xiaojun Review

[f2fs-dev] [PATCH v2] f2fs: avoid to create an empty string as the extension_list

2021-07-09 Thread Wang Xiaojun
When creating a file, we need to set the temperature based on extension_list. If the empty string is a valid extension_list, the is_extension_exist will always returns true, which affects the separation of hot and cold. Signed-off-by: Wang Xiaojun --- v1->v2:let the caller do the check on @name -