summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChi Zhiling <chizhiling@kylinos.cn>2026-01-14 20:12:37 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-02-12 21:21:47 +0900
commit967288e9a6f2ca88cf7d004d87bb3aa9db64fbe2 (patch)
treecce783d5c37f96cb87230999f3163681cfdd7c02 /tools/perf/scripts/python
parent0914882bdda645e10cf536b474631e1a023b67c0 (diff)
downloadlinux-967288e9a6f2ca88cf7d004d87bb3aa9db64fbe2.tar.gz
linux-967288e9a6f2ca88cf7d004d87bb3aa9db64fbe2.zip
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions