Skip to contentSkip to conversation

bug+fix in reiserfsck - reiserfscore/journal.c

DISCUSSION Chris Mason 3 participants 3 messages Feb 27, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 11 lines · Thorsten Kohfeldt

To whom it may (should!) concern,
26-FEB-2004

after having been annoyed for quite some time by corrupt /var file systems after
(simulated) powerloss in a SuSE 9.0 setup with reiserfs, I finally tracked the
problem down to a nasty bug in reiserfsck - reiserfscore/journal.c

Turned out that the journal is not always correctly replayed by reiserfsck !

Thank you very much for the patch, I'll review it and try to get a fix out asap inside suse.

[ transaction id wrapping ]

Quoted 3 lines

For a starter, I added a patch that fixes one wrap around issue inside journal.c. Take it or leave it.

Thanks, I'll play around with this and perhaps a few alternatives.

-chris

#2 lore raw
Quoted 23 lines · Chris Mason
Quoted 12 lines · Thorsten Kohfeldt

To whom it may (should!) concern, 26-FEB-2004

after having been annoyed for quite some time by corrupt /var file systems after
(simulated) powerloss in a SuSE 9.0 setup with reiserfs, I finally tracked the
problem down to a nasty bug in reiserfsck - reiserfscore/journal.c

Turned out that the journal is not always correctly replayed by reiserfsck !

Thank you very much for the patch, I'll review it and try to get a fix out asap inside suse.

[ transaction id wrapping ]

Quoted 1 line
Quoted 14 lines
Quoted 4 lines

For a starter, I added a patch that fixes one wrap around issue inside journal.c. Take it or leave it.

Thanks, I'll play around with this and perhaps a few alternatives.

-chris

Is this bug present in the mainstream kernel? Why suse only?

Signature · 1 line
Hans
#3 lore raw

----- Original Message -----
From: "Hans Reiser" <[email protected]>
To: "Chris Mason" <[email protected]>
Cc: "Thorsten Kohfeldt" <[email protected]>; <[email protected]>
Sent: Friday, February 27, 2004 4:40 AM
Subject: Re: bug+fix in reiserfsck - reiserfscore/journal.c

Quoted 38 lines
Quoted 24 lines · Chris Mason
Quoted 13 lines · Thorsten Kohfeldt

To whom it may (should!) concern,
26-FEB-2004

after having been annoyed for quite some time by corrupt /var file systems after
(simulated) powerloss in a SuSE 9.0 setup with reiserfs, I finally tracked the
problem down to a nasty bug in reiserfsck - reiserfscore/journal.c

Turned out that the journal is not always correctly replayed by reiserfsck !

Thank you very much for the patch, I'll review it and try to get a fix out asap inside suse.

[ transaction id wrapping ]

Quoted 1 line
Quoted 12 lines
Quoted 4 lines

For a starter, I added a patch that fixes one wrap around issue inside journal.c. Take it or leave it.

Thanks, I'll play around with this and perhaps a few alternatives.

-chris

Quoted 4 lines

Is this bug present in the mainstream kernel? Why suse only?

--
Hans

The problem is NOT located in the SuSE kernel, but in reiserfsprogs (at least reiserfsck/fsck.reiserfs).

Because the SuSE kernel has Chris's data logging patches, I do NOT know wether a mainstream kernel includes that original reiserfsprogs reiserfscore/journal.c.
I hereby forward that question to your core programmer team.

Anyway, the problem DEFINITELY exists in the GENERAL version of reiserfsprogs (at least in reiserfsck).

General reiserfs users are advised to patch their reiserfsprogs with the first inline diff of my original mail.

I expect to see reiserfsprogs V 3.6.14 VERY soon.

Thorsten