summaryrefslogtreecommitdiff
path: root/fs/seq_file.c
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2020-06-05 02:50:59 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-05 05:06:25 +0300
commit898310032b96c198014a8bbace0fd26259b2db77 (patch)
tree1723dd7c9255d79a2afb688833a91d0d0294af46 /fs/seq_file.c
parentb1b65750b8db67834482f758fc385bfa7560d228 (diff)
downloadlinux-898310032b96c198014a8bbace0fd26259b2db77.tar.xz
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 <hirofumi@mail.parknet.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Tested-by: hyeongseok.kim <hyeongseok.kim@lge.com> Reviewed-by: hyeongseok.kim <hyeongseok.kim@lge.com> Link: http://lkml.kernel.org/r/87d08e1dlh.fsf@mail.parknet.co.jp Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions