diff options
author | Yuezhang Mo <[email protected]> | 2022-04-07 15:55:56 +0800 |
---|---|---|
committer | Namjae Jeon <[email protected]> | 2022-12-12 11:02:48 +0900 |
commit | f83d8a3b532097276266b5e81073ea46e27b17ab (patch) | |
tree | 0470388c05d888dd74e75e1bfcaa15cfda8b4fb6 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | e298c8a818a3e517582e60c412f4a41b3a1647c5 (diff) |
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 <[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 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions