> In theory, yes. In my opinion, no. For ext3, at least. Caching
> isn't bad per-se. It's reordering which can break the journalling
> constraints. But given that the journal is, we hope, a strictly
> ascending and (we really hope) contiguous chunk of blocks, it's
> quite unlikely that the disk will decide to write them in an
> unexpected order. This is especially true if the journal was
> created when the disk was relatively unfragmented.
When the journal resides on multiple disks or disks different from the
actual data (think LVM or RAID), all bets are off. You need
synchronous write operations in these cases, I think.
-- Florian Weimer Florian.Weimer@RUS.Uni-Stuttgart.DE University of Stuttgart http://cert.uni-stuttgart.de/ RUS-CERT +49-711-685-5973/fax +49-711-685-5898 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/