[PATCH 0/3] nilfs2: support rollback of log scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series adds fallback feature between two super blocks in terms of
search of valid super root during mount.

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 newer super block points to.

This is because such inconsistent situtation will not happen if
underlying block device properly implements barrier semantics, but in
reality, problems have been reported.

The recent series posted by Jiro SEKIBA, changes writeback of super
blocks so that they will be written to the disk in turns to resolve
this issue.  This series complements his work.

The core change appears in the third patch "nilfs2: implement fallback
for super root search", and others are for its preparation.

I will queue these along with Jiro-san's patch set.

Thanks,
Ryusuke Konishi
--
Ryusuke Konishi (3):
      nilfs2: separate setup of log cursor from init_nilfs
      nilfs2: add missing error code in comment of nilfs_search_super_root
      nilfs2: implement fallback for super root search

 fs/nilfs2/recovery.c  |    2 +
 fs/nilfs2/the_nilfs.c |   97 +++++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 84 insertions(+), 15 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux