[Ocfs2-tools-devel] [PATCH 0/6] ocfs2-tools: Add slot recovery in fsck.ocfs2. V3

Tao Ma tao.ma at oracle.com
Thu Sep 18 07:58:11 PDT 2008


Hi,all
	Modification from V2 to V3:
Split the 1st patch into 2 and change ocfs2_check_clusters_set to 
ocfs2_test_clusters according to Sunil's review.

This patch set enable slot recovery in fsck.ocfs2 so that we can use
tunefs.ocfs2 to modify the volume after we run fsck.ocfs2 successfully.
The whole process will work like this:
1. Replay journal for all slots.
2. Apply the truncate log and local alloc bits. Look for inconsistency.
      If any inconsistency, force a full fsck.
3. If non-force fsck, replay orphan dirs. If error, force a full fsck.
      If not, go to step 6.
4. If force fsck, fsck the entire fs.
5. Remove the entries in orphan dirs.
6. Reset the slot map and the journal dirty flags.

Regards,
Tao



More information about the Ocfs2-tools-devel mailing list