[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090401151219.GA12285@srcf.ucam.org>
Date: Wed, 1 Apr 2009 16:12:21 +0100
From: Matthew Garrett <mjg59@...f.ucam.org>
To: Sitsofe Wheeler <sitsofe@...oo.com>
Cc: Theodore Tso <tytso@....edu>,
"Andreas T.Auer" <andreas.t.auer_lkml_73537@...us.ath.cx>,
Alberto Gonzalez <info@...bu.es>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
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@...f.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists