diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2023-10-30 18:00:51 +0800 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2024-03-19 20:55:54 +0900 |
commit | af02c72d0b621ccd0185248cacb6133a05481e75 (patch) | |
tree | 733bf9937fae9b17c6fb23803d7ec17a252c34be /fs/notify/mark.c | |
parent | d97e060673906d16f2b146dfd862c5e8a1afe2e4 (diff) | |
download | linux-stable-af02c72d0b621ccd0185248cacb6133a05481e75.tar.gz linux-stable-af02c72d0b621ccd0185248cacb6133a05481e75.tar.bz2 linux-stable-af02c72d0b621ccd0185248cacb6133a05481e75.zip |
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/notify/mark.c')
0 files changed, 0 insertions, 0 deletions