4 ms·
If you don't lock, you can get a situation where the file on disk is in an inconsistent state until all writes have completed (for example, half of the second w
by TheLoneWolfling 12y ago
If you don't lock, you can get a situation where the file on disk is in an inconsistent state until all writes have completed (for example, half of the second write applied but the other half not, etc)
As far as I know, at least. If (when) I'm wrong, please correct me.
- MrBuddyCasino 12y agoYes, isn 't that a situation that a journaled FS should prevent? So for e.g. XFS it should be redundant.