]> Gentwo Git Trees - linux/.git/commit
exfat: optimize allocation bitmap loading time
authorNamjae Jeon <linkinjeon@kernel.org>
Fri, 5 Sep 2025 23:13:04 +0000 (08:13 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Tue, 30 Sep 2025 04:34:43 +0000 (13:34 +0900)
commit9fd688678dd86e3be32a35e3b2c5cc3ef0c4e257
tree224ae2eadcff57e830ac6ca4219b6a6821b0a458
parentcb8d6d4aa015a8dace68d129baf7a4d7042a667d
exfat: optimize allocation bitmap loading time

Loading the allocation bitmap is very slow if user set the small cluster
size on large partition.

For optimizing it, This patch uses sb_breadahead() read the allocation
bitmap. It will improve the mount time.

The following is the result of about 4TB partition(2KB cluster size)
on my target.

without patch:
real 0m41.746s
user 0m0.011s
sys 0m0.000s

with patch:
real 0m2.525s
user 0m0.008s
sys 0m0.008s

Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/balloc.c