diff options
| author | Yuezhang Mo <[email protected]> | 2023-10-30 10:00:51 +0000 |
|---|---|---|
| committer | Namjae Jeon <[email protected]> | 2024-03-19 11:55:54 +0000 |
| commit | af02c72d0b621ccd0185248cacb6133a05481e75 (patch) | |
| tree | 733bf9937fae9b17c6fb23803d7ec17a252c34be /drivers/cdx/controller/cdx_controller.c | |
| parent | exfat: convert exfat_init_ext_entry() to use dentry cache (diff) | |
| download | kernel-af02c72d0b621ccd0185248cacb6133a05481e75.tar.gz kernel-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 <[email protected]>
Reviewed-by: Andy Wu <[email protected]>
Reviewed-by: Aoyama Wataru <[email protected]>
Reviewed-by: Sungjong Seo <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
