diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-06-28 19:15:26 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-23 10:02:11 +0900 |
commit | 6c12516083cf51b6e576691ac6e20c4a32f4edb9 (patch) | |
tree | 61d3b3d2502aac37ee2a6d426be104ac8728d6aa /fs/nilfs2/the_nilfs.h | |
parent | 2d72b99ecdf8cbb5d9422c54b401d9d590b2faf5 (diff) |
nilfs2: implement fallback for super root search
Although nilfs redundantly uses two super blocks and each may point to
different position on log, the current version of nilfs does not try
fallback to the spare super block when it doesn't find any valid log
at the position that the primary super block points to.
This has been a cause of mount failures due to write order reversals
on barrier less block devices.
This inserts fallback code in error path of nilfs_search_super_root
routine to resolve the mount failure problem.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2/the_nilfs.h')
0 files changed, 0 insertions, 0 deletions