Re: [PATCH] SMP race in ext2 - metadata corruption.

From: Richard B. Johnson (
Date: Fri Apr 27 2001 - 06:43:43 EST

On Thu, 26 Apr 2001, Alexander Viro wrote:

> On Thu, 26 Apr 2001, Richard B. Johnson wrote:
> > The disk image, raw.bin, does NOT contain the image of the floppy.
> > Most of boot stuff added by lilo is missing. It will eventually
> > get there, but it's not there now, even though the floppy was
> > un-mounted!
> I doubt that you can reproduce that on anything remotely recent.
> All buffers are flushed when last user closes device.

Buffers are not flushed (actually written) to disk. The floppy continues
to be written for 20 to 30 seconds after `umount` returns to
the shell. A program like `cp` , accessing the raw device during this time
does not get what will eventually be written.

Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:17 EST