From: Chao Yu Date: Mon, 8 Dec 2014 07:02:52 +0000 (+0800) Subject: f2fs: avoid to ra unneeded blocks in recover flow X-Git-Tag: omap-for-v3.20/drop-legacy-3517~143^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=635aee1fefef921ae4124b127fced62ea6008839;p=pandora-kernel.git f2fs: avoid to ra unneeded blocks in recover flow To improve recovery speed, f2fs try to readahead many contiguous blocks in warm node segment, but for most time, abnormal power-off do not occur frequently, so when mount a normal power-off f2fs image, by contrary ra so many blocks and then invalid them will hurt the performance of mount. It's better to just ra the first next-block for normal condition. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed