aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorOGAWA Hirofumi <[email protected]>2020-06-04 16:50:59 -0700
committerLinus Torvalds <[email protected]>2020-06-04 19:06:25 -0700
commit898310032b96c198014a8bbace0fd26259b2db77 (patch)
tree1723dd7c9255d79a2afb688833a91d0d0294af46 /lib/mpi/mpi-internal.h
parentb1b65750b8db67834482f758fc385bfa7560d228 (diff)
fat: improve the readahead for FAT entries
Current readahead for FAT entries is very simple but is having some flaws, so it is not working well for some environments. This patch improves the readahead more or less. The key points of modification are, - make the readahead size tunable by using bdi->ra_pages - care the bdi->io_pages to avoid the small size I/O request - update readahead window before fully exhausting With this patch, on slow USB connected 2TB hdd: [before] 383.18sec [after] 51.03sec Signed-off-by: OGAWA Hirofumi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Tested-by: hyeongseok.kim <[email protected]> Reviewed-by: hyeongseok.kim <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions