Reiser4 journal replay stats
Hi
This small patch is will print out nuber of transartions replied from logs after a crash, quite like reiserfs 3.6 does:
http://kem.p.lodz.pl/~peter/reiser4_replay_stats.patch
Thanks to Nikita Danilov for guidance.
Quoted 11 lines · Piotr Neuman
Hi
This small patch is will print out nuber of transartions replied from logs after a crash, quite like reiserfs 3.6 does:
http://kem.p.lodz.pl/~peter/reiser4_replay_stats.patch
Thanks to Nikita Danilov for guidance.
Do the members of the list view this as useful? I worry that to average persons, who don't know what a transaction is, this is vaguely scary.
Clifford, I cc'd you because your intuition is better than mine for this.
Perhaps it should say something reassuring, like "All went well in the filesystem aspect of recovering from what seems to have been an improperly shutdown or crashed system."
Quoted 20 lines
Quoted 19 lines · Hans Reiser
Quoted 8 lines · Piotr Neuman
Hi
This small patch is will print out nuber of transartions replied from logs after a crash, quite like reiserfs 3.6 does:
http://kem.p.lodz.pl/~peter/reiser4_replay_stats.patch
Thanks to Nikita Danilov for guidance.
Do the members of the list view this as useful? I worry that to average persons, who don't know what a transaction is, this is vaguely scary.
Clifford, I cc'd you because your intuition is better than mine for this.
Perhaps it should say something reassuring, like "All went well in the filesystem aspect of recovering from what seems to have been an improperly shutdown or crashed system."
[cut]
Quoted 11 lines
I don't know if this text already exists, but I would make sure there are messages that indicate:
* that the file system was improperly shutdown;
* that an improper shutdown is no big deal for Reiser4 and we'll happily clean things up;
* give an indication that no data was lost (if you can determine that) and that all is well with the world.Probably a longer answer than you wanted, but I'm not going to take the time to edit it down. ;-)
Updated patch to reflect above suggestions. There is only one technical thing, since reiser4 uses wandering logs I find it very hard to crash in such a way that it will reply even a single transaction, so I don't really know if this patch is usefull ;-).
Download:
http://kem.p.lodz.pl/~peter/reiser4_replay_stats-2.patch
Regards
Piotr Neuman