[reiserfs-list] File corruption in journal replay

2001-05-27 Thread Jonathan Hseu
I run kernel 2.4.5, SMP + reiserfs, and I was copying a file, when I crashed and rebooted. After reboot, I compared the file that was copying, and found that they differed. What should happen is that the two files should be equivalent up until the position of the end of the file that it was copy

Re: [reiserfs-list] File corruption in journal replay

2001-05-27 Thread Henrik Nordstrom
Jonathan Hseu wrote: > > I run kernel 2.4.5, SMP + reiserfs, and I was copying a file, when I crashed and > rebooted. After reboot, I compared the file that was copying, and found that > they differed. What should happen is that the two files should be equivalent > up until the position of the

Re: [reiserfs-list] File corruption in journal replay

2001-05-27 Thread Matthew Hawkins
On Mon, 28 May 2001, Jonathan Hseu wrote: > Shouldn't journal replays replay what is being written so that it is actually > the correct data instead of random incorrect data? Only on a filesystem supporting full data journaling. I'm not aware of one for Linux right now. JFS, XFS, ext3, reiserfs

Re: [reiserfs-list] File corruption in journal replay

2001-05-28 Thread Vladimir V. Saveliev
Hi Henrik Nordstrom wrote: > ... In case of tails you may even loose some of the information > that was on disk previously. No. It should not. If it does - this is a bug. Thanks, vs > > > It can be argued if this is good or bad, but it is how it currently > works, and can be seen in any files

Re: [reiserfs-list] File corruption in journal replay

2001-05-30 Thread Henrik Nordstrom
Vladimir V. Saveliev wrote: > Henrik Nordstrom wrote: > > > ... In case of tails you may even loose some of the information > > that was on disk previously. > > No. It should not. If it does - this is a bug. Are you absolutely sure on this? How is a block of data protected when it changes fro

Re: [reiserfs-list] File corruption in journal replay

2001-05-30 Thread Henrik Nordstrom
Marc Lehmann wrote: > However, as a matter of fact it almost never happens on ext2, while it > happens almost always with reiserfs. It's strictly a QOI difference > (reiserfs might trade speed for correctness). Are you sure.. I imagine both are using the same flushing daemon which by default onl

Re: [reiserfs-list] File corruption in journal replay

2001-05-30 Thread Marc Lehmann
On Wed, May 30, 2001 at 08:39:33AM +0200, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > Are you sure.. I imagine both are using the same flushing daemon which > by default only flushes data blocks after 30 seconds, allowing a rather > largeish window between the application have written the data a