On Tue, May 14, 2013 at 10:32:43AM +0200, Adam Ryczkowski wrote:
> What are perspectives on BTRFS complying with laptop-mode and stop writing
> to disk every 30 sec?

> Is there any tunable switch, that can delay such writes to, say, 15 minutes,
> or better yet: until the disk started spinning anyway?

30 seconds is the regular transaction commit interval. Tweaking the
value is easy (via a mount option to make it clearly visible):

http://lxr.free-electrons.com/source/fs/btrfs/disk-io.c#L1691

but has implications about data safety in case of a long delay in
combination with a crash.


david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to