All of lore.kernel.org
 help / color / mirror / Atom feed
* Reiser4 journal replay stats
@ 2004-10-16 20:09 Piotr Neuman
  2004-10-19 20:21 ` Hans Reiser
  0 siblings, 1 reply; 3+ messages in thread
From: Piotr Neuman @ 2004-10-16 20:09 UTC (permalink / raw)
  To: reiserfs-list

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Reiser4 journal replay stats
  2004-10-16 20:09 Reiser4 journal replay stats Piotr Neuman
@ 2004-10-19 20:21 ` Hans Reiser
       [not found]   ` <41757DD8.5020105@linspireinc.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Reiser @ 2004-10-19 20:21 UTC (permalink / raw)
  To: Piotr Neuman; +Cc: reiserfs-list, Clifford Beshers

Piotr Neuman wrote:

>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."

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Reiser4 journal replay stats
       [not found]   ` <41757DD8.5020105@linspireinc.com>
@ 2004-10-20 21:31     ` Piotr Neuman
  0 siblings, 0 replies; 3+ messages in thread
From: Piotr Neuman @ 2004-10-20 21:31 UTC (permalink / raw)
  To: Clifford Beshers; +Cc: Alex Zarochentsev, reiserfs-list

> Hans Reiser wrote:
> > Piotr Neuman wrote:
> >> 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]

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-20 21:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-16 20:09 Reiser4 journal replay stats Piotr Neuman
2004-10-19 20:21 ` Hans Reiser
     [not found]   ` <41757DD8.5020105@linspireinc.com>
2004-10-20 21:31     ` Piotr Neuman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.