diff options
author | Chao Yu <chao@kernel.org> | 2022-02-04 01:34:10 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-02-04 07:21:28 +0100 |
commit | 430f163b01888dc26696365d9c1053ba9d6c7d92 (patch) | |
tree | 076333f82610ab1c0ea54be69b4a12cb23009e58 /fs/f2fs/segment.h | |
parent | f2fs: fix to unlock page correctly in error path of is_alive() (diff) | |
download | linux-430f163b01888dc26696365d9c1053ba9d6c7d92.tar.xz linux-430f163b01888dc26696365d9c1053ba9d6c7d92.zip |
f2fs: adjust readahead block number during recovery
In a fragmented image, entries in dnode block list may locate in
incontiguous physical block address space, however, in recovery flow,
we will always readahead BIO_MAX_VECS size blocks, so in such case,
current readahead policy is low efficient, let's adjust readahead
window size dynamically based on consecutiveness of dnode blocks.
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.h')
0 files changed, 0 insertions, 0 deletions