]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
nilfs2: recovery functions
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Tue, 7 Apr 2009 02:01:38 +0000 (19:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2009 15:31:16 +0000 (08:31 -0700)
commit0f3e1c7f23f8a6f8224fa1d275381f6d9279ad4b
treeb46181f8caa65d3b829acadd644b44afd465cd63
parentf30bf3e40f80ef50c17f55271deae3abc03e793e
nilfs2: recovery functions

This adds recovery function on mount.

Usually the recovery is achieved by just finding the latest super
root.  When logs without checkpoints were appended for data sync
operations after the latest super root, the recovery function will
perform roll forwarding and reconstruct new log(s) with a super root.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nilfs2/recovery.c [new file with mode: 0644]