nilfs2: apply readahead for recovery on mount
commit050b4142c9f3cb3a213f254bd1a1fa1476800585
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Thu, 19 Nov 2009 13:24:48 +0000 (19 22:24 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 20 Nov 2009 01:05:51 +0000 (20 10:05 +0900)
treee9c128ab00463ca903edf15457fd76a4df7911d7
parentf021759d74d71bacc73fc3e00d6e3d35e1f2e123
nilfs2: apply readahead for recovery on mount

This inserts readahead in the recovery code.  The readahead request is
issued per segment while searching the latest super root block.

This will shorten mount time after unclean unmount.  A measurement
shows the recovery time was reduced by more than 60 percent:

 e.g. real  0m11.586s -> 0m3.918s  (x 2.96)

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/recovery.c