summaryrefslogtreecommitdiff
path: root/fs/exfat/exfat_fs.h
diff options
context:
space:
mode:
authorYuezhang Mo <Yuezhang.Mo@sony.com>2023-10-30 18:00:51 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2024-03-19 20:55:54 +0900
commitaf02c72d0b621ccd0185248cacb6133a05481e75 (patch)
tree733bf9937fae9b17c6fb23803d7ec17a252c34be /fs/exfat/exfat_fs.h
parentd97e060673906d16f2b146dfd862c5e8a1afe2e4 (diff)
exfat: convert exfat_find_empty_entry() to use dentry cache
Before this conversion, each dentry traversed needs to be read from the storage device or page cache. There are at least 16 dentries in a sector. This will result in frequent page cache searches. After this conversion, if all directory entries in a sector are used, the sector only needs to be read once. Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com> Reviewed-by: Andy Wu <Andy.Wu@sony.com> Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com> Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs/exfat/exfat_fs.h')
0 files changed, 0 insertions, 0 deletions