From e3e529bfc6d7ed94570b36fdf6cf3c9935e9a7c4 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Mon, 17 Jun 2002 20:17:21 -0700 Subject: [PATCH] writeback tunables Adds five sysctls for tuning the writeback behaviour: dirty_async_ratio dirty_background_ratio dirty_sync_ratio dirty_expire_centisecs dirty_writeback_centisecs these are described in Documentation/filesystems/proc.txt They are basically the tradiditional knobs which we've always had... We are accreting a ton of obsolete sysctl numbers under /proc/sys/vm/. I didn't recycle these - just mark them unused and remove the obsolete documentation. --- include/linux/writeback.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/linux/writeback.h') diff --git a/include/linux/writeback.h b/include/linux/writeback.h index cf706c783eda..a06b0f116ebd 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h @@ -45,6 +45,12 @@ static inline void wait_on_inode(struct inode *inode) /* * mm/page-writeback.c */ +extern int dirty_background_ratio; +extern int dirty_async_ratio; +extern int dirty_sync_ratio; +extern int dirty_writeback_centisecs; +extern int dirty_expire_centisecs; + void balance_dirty_pages(struct address_space *mapping); void balance_dirty_pages_ratelimited(struct address_space *mapping); int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0); -- cgit v1.2.3