[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCHv3] a new filesystem module for nilfs2
From: |
Jiro SEKIBA |
Subject: |
Re: [PATCHv3] a new filesystem module for nilfs2 |
Date: |
Sun, 18 Apr 2010 19:20:51 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.3 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) |
Hi,
Thank you very much for the comments!
I revised the patch to reflect the comments.
> + {
> + grub_error(GRUB_ERR_BAD_FS,"btree corruption\n");
> + return -1;
> + }
> What do you think about possible fallback to iterate over all nodes in case
> of fs corruption?
The case that btree is corrupted, it's very hard to take any action to recover
because it is not possible to distinguish which block has meta data
or which block has data without btree information.
nilfs2 has ability to mount old checkpoint by specifying checkpoint number.
So using old checkpoint is one of the possible fallback if all the blocks
belonging to the old checkpoint is healthy. But it requires some more work.
thanks,
regards
--
Jiro SEKIBA <address@hidden>
nilfs2-v4.patch
Description: Text document