linux/fs/exfat
Chi Zhiling 967288e9a6 exfat: add cache option for __exfat_ent_get
When multiple entries are obtained consecutively, these entries are mostly
stored adjacent to each other. this patch introduces a "last" parameter to
cache the last opened buffer head, and reuse it when possible, which
reduces the number of sb_bread() calls.

When the passed parameter "last" is NULL, it means cache option is
disabled, the behavior unchanged as it was.

Signed-off-by: Chi Zhiling <chizhiling@kylinos.cn>
Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
2026-02-12 21:21:47 +09:00
..
balloc.c exfat: fix divide-by-zero in exfat_allocate_bitmap 2025-12-03 10:00:16 +09:00
cache.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
dir.c exfat: add setlease file operation 2026-01-12 10:55:46 +01:00
exfat_fs.h exfat: validate the cluster bitmap bits of directory 2025-12-03 10:00:16 +09:00
exfat_raw.h exfat: Add support for FS_IOC_{GET,SET}FSLABEL 2025-09-30 13:49:31 +09:00
fatent.c exfat: add cache option for __exfat_ent_get 2026-02-12 21:21:47 +09:00
file.c exfat: reduce unnecessary writes during mmap write 2026-02-12 21:21:47 +09:00
inode.c exfat: drop redundant conversion to bool 2025-09-30 13:34:43 +09:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile exfat: add Kconfig and Makefile 2020-03-05 21:00:40 -05:00
misc.c exfat: convert to new timestamp accessors 2023-10-18 13:26:21 +02:00
namei.c exfat: improve error code handling in exfat_find_empty_entry() 2026-02-12 21:21:47 +09:00
nls.c exfat: fix out-of-bounds in exfat_nls_to_ucs2() 2025-10-15 17:53:20 +09:00
super.c exfat: fix remount failure in different process environments 2025-12-03 10:00:17 +09:00