Patchwork [1/8] mm: export dirty_writeback_interval

login
register
mail settings
Submitter Artem Bityutskiy
Date March 21, 2012, 4:14 p.m.
Message ID <1332346475-1441-2-git-send-email-dedekind1@gmail.com>
Download mbox | patch
Permalink /patch/148034/
State Not Applicable
Headers show

Comments

Artem Bityutskiy - March 21, 2012, 4:14 p.m.
From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

Export 'dirty_writeback_interval' to make it visible to file-systems. We are
going to push superblock management down to file-systems and get rid of the
'sync_supers' kernel thread completly.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
---
 mm/page-writeback.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 363ba70..5e39858 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -95,6 +95,8 @@  unsigned long vm_dirty_bytes;
  */
 unsigned int dirty_writeback_interval = 5 * 100; /* centiseconds */
 
+EXPORT_SYMBOL_GPL(dirty_writeback_interval);
+
 /*
  * The longest time for which data is allowed to remain dirty
  */