diff options
author | 2022-04-07 15:55:56 +0800 | |
---|---|---|
committer | 2022-12-12 11:02:48 +0900 | |
commit | f83d8a3b532097276266b5e81073ea46e27b17ab (patch) | |
tree | 0470388c05d888dd74e75e1bfcaa15cfda8b4fb6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | exfat: hint the empty entry which at the end of cluster chain (diff) | |
download | linux-rng-f83d8a3b532097276266b5e81073ea46e27b17ab.tar.xz linux-rng-f83d8a3b532097276266b5e81073ea46e27b17ab.zip |
exfat: reduce the size of exfat_entry_set_cache
In normal, there are 19 directory entries at most for a file or
a directory.
- A file directory entry
- A stream extension directory entry
- 1~17 file name directory entry
So the directory entries are in 3 sectors at most, it is enough
for struct exfat_entry_set_cache to pre-allocate 3 bh.
This commit changes the size of struct exfat_entry_set_cache as:
Before After
32-bit system 88 32 bytes
64-bit system 168 48 bytes
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions