summaryrefslogtreecommitdiffstats
path: root/meta-moblin/packages/linux/linux-moblin-2.6.29.1/linux-2.6.29-jbd-longer-commit-interval.patch
blob: d7bd92151b2ccd61c018108059065fb3612e2ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 0143f8eb8afcaccba5a78196fb3db4361e0097a7 Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Mon, 9 Feb 2009 21:25:32 -0800
Subject: [PATCH] jbd: longer commit interval

... 5 seconds is rather harsh on ssd's..

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
---
 include/linux/jbd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/jbd.h b/include/linux/jbd.h
index 64246dc..d64b7fd 100644
--- a/include/linux/jbd.h
+++ b/include/linux/jbd.h
@@ -46,7 +46,7 @@
 /*
  * The default maximum commit age, in seconds.
  */
-#define JBD_DEFAULT_MAX_COMMIT_AGE 5
+#define JBD_DEFAULT_MAX_COMMIT_AGE 15
 
 #ifdef CONFIG_JBD_DEBUG
 /*
-- 
1.6.0.6