News for hackers. Stuff that matters.
Re:Good news: Mozilla fixed their damn browser by nohat on Tuesday December 20, 2011 @03:51PM (#3375091)
Ah, I gather firefox assumed that it could write to a given file repeatedly and it would just stay in the cache. Thanks for the explanation.
Re:Good news: Mozilla fixed their damn browser by yew on Tuesday December 20, 2011 @05:07PM (#3375405)
Not quite, though that's part of what the problem was. There's a mechanism (fsync) for forcing the changes in a particular file to be written to disk. As a result of the consistency guarantees made by the "data=ordered" mode, synchronizing a single file often forces the filesystem to make other, unrelated writes to the disk as well. In the worst case the entire cache can be forced to disk. The end result is substantially more disk activity than would be expected.