Re: 2.6.36 io bring the system to its knees

From: Pavel Machek
Date: Wed Nov 10 2010 - 14:09:44 EST


Hi!

> > That is data that was freshly touched around the time the system went down, right?
> >
> > I.e. data that was probably half-modified by user-space to begin with.
>
> It's data that wasn't synced out yet, yes. Which isn't the problem per
> se. With ext3/4 in ordered mode, or xfs, or btrfs the file size won't
> be incremented until the data is written. in ext3/4 in writeback mode
> (or various non-journaling filesystems) however the inode size is
> updated, and metadagta changes are logged. Besides exposing stale
> data which is a security risk in multi-user systems it also means the
> inode looks modified (by size and timestamps), but contains other data
> than actually written.

Well, afaict thats traditional unix behaviour... while it is not user
friendly, I'd not call it 'corrupted filesytem'.
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/