Re: ext2 + -osync: not as easy as it seems

From: Pavel Machek
Date: Tue Jan 13 2009 - 09:40:42 EST


On Tue 2009-01-13 13:45:03, Alan Cox wrote:
> > Plus it has a nasty behaviour where it reverts to -W1 if disk
> > connection is momentarily lost. (If you unplug/replug SATA disk, linux
> > will happily rediscover and use it, but -W0 was already forgotten at
> > that point, right?)
>
> If you momentarily lose power your disk state isn't defined anyway. If
> you do that with the SATA code it should treat it the same as a scsi disk
> swap so it'll get a new device and the old fs will go down.

No, that is not what happened :-(. If I replug disk within 10 seconds,
it just behaves as if nothing happened, and continues operating on the
disk. AMD machine... but I don't think that matters.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/