]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: readahead for meta_bg
authorAlexey Lyashkov <alexey.lyashkov@seagate.com>
Wed, 1 Mar 2017 20:03:54 +0000 (15:03 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 1 Mar 2017 20:04:05 +0000 (15:04 -0500)
commit2521c50d98442dbec2733f8cf9c88d2444be9075
tree60a31e885aca0bdc88c3dc41a522725c996bc6fb
parent7a2a0145da40096ad5bf8df902bb5d4b332f29f7
libext2fs: readahead for meta_bg

There are ~37k of random IOs with meta_bg option on 300T target.
Debugfs requires 20 minutes to be started. Enabling readahead for
group blocks metadata save time dramatically. Only 12s to start.

Signed-off-by: Alexey Lyashkov <alexey.lyashkov@seagate.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
lib/ext2fs/openfs.c