This patch set is designed to reduce FAT traversal, it includes the patch to implement this feature as well as the patches to optimize and clean up the code to facilitate the implementation of this feature. Changes for v3: - [2/7] add this new patch. - [3/7] use macro instead of function. Changes for v2: - [6/6] add inline descriptions for 'dir' and 'entry' in 'struct exfat_dir_entry' and 'struct exfat_inode_info'. Yuezhang Mo (7): exfat: remove unnecessary read entry in __exfat_rename() exfat: rename argument name for exfat_move_file and exfat_rename_file exfat: add exfat_get_dentry_set_by_ei() helper exfat: move exfat_chain_set() out of __exfat_resolve_path() exfat: remove argument 'p_dir' from exfat_add_entry() exfat: code cleanup for exfat_readdir() exfat: reduce FAT chain traversal fs/exfat/dir.c | 29 ++------ fs/exfat/exfat_fs.h | 6 ++ fs/exfat/inode.c | 2 +- fs/exfat/namei.c | 173 +++++++++++++++++++------------------------- 4 files changed, 86 insertions(+), 124 deletions(-) -- 2.43.0