From: "Thorsten Kohfeldt" Subject: Re: bug+fix in reiserfsck - reiserfscore/journal.c Date: Fri, 27 Feb 2004 05:44:09 +0100 Message-ID: <006801c3fcec$59649030$e91ba8c0@thk.local> References: <002601c3fc49$815d1880$e91ba8c0@thk.local> <1077843286.8641.36.camel@watt.suse.com> <403EBC24.6000701@namesys.com> Reply-To: "Thorsten Kohfeldt" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com List-Id: Content-Type: text/plain; charset="us-ascii" To: reiserfs-list@namesys.com Cc: Hans Reiser , Chris Mason ----- Original Message ----- From: "Hans Reiser" To: "Chris Mason" Cc: "Thorsten Kohfeldt" ; Sent: Friday, February 27, 2004 4:40 AM Subject: Re: bug+fix in reiserfsck - reiserfscore/journal.c > Chris Mason wrote: > > >On Thu, 2004-02-26 at 04:18, Thorsten Kohfeldt wrote: > > > > > >>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 ] > > > > > >> > >>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? > > -- > 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