Messages in this thread | | | Date | Wed, 1 Apr 2009 16:12:21 +0100 | From | Matthew Garrett <> | Subject | Re: Ext4 and the "30 second window of death" |
| |
On Wed, Apr 01, 2009 at 06:20:50AM +0100, Sitsofe Wheeler wrote:
> Just out of curiosity, when laptop mode is happening is there a > guarantee that writes to other files won't be reordered to before the > fsync?
laptop-mode does two things - tweak the dirty page semantics slightly (not in an interestingly relevant way) and call sys_sync() a few seconds after something hits disk rather than cache. In contrast to Ted's suggestion that laptop-mode reduces data integrity, it actually enhances it by opportunistically ensuring that data hits disk. It's the lengthening of the commit intervals that usually accompanies it that increases the risk of data loss.
-- Matthew Garrett | mjg59@srcf.ucam.org
| |