diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-03-30 22:35:56 -0500 |
| commit | d62e54abca1146981fc9f98f85ff398a113a22c2 (patch) | |
| tree | 870420dbc4c65e716dcef8a802aafdc0ef97a8b4 /include/linux/writeback.h | |
| parent | fd4a0b92db6a57cba8d03efbe1cebf91f9124ce0 (diff) | |
| parent | ce362c009250340358a7221f3cdb7954cbf19c01 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include/linux/writeback.h')
| -rw-r--r-- | include/linux/writeback.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index beaef5c7a0ea..56f92fcbe94a 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
| @@ -88,8 +88,8 @@ void throttle_vm_writeout(void); | |||
| 88 | /* These are exported to sysctl. */ | 88 | /* These are exported to sysctl. */ |
| 89 | extern int dirty_background_ratio; | 89 | extern int dirty_background_ratio; |
| 90 | extern int vm_dirty_ratio; | 90 | extern int vm_dirty_ratio; |
| 91 | extern int dirty_writeback_centisecs; | 91 | extern int dirty_writeback_interval; |
| 92 | extern int dirty_expire_centisecs; | 92 | extern int dirty_expire_interval; |
| 93 | extern int block_dump; | 93 | extern int block_dump; |
| 94 | extern int laptop_mode; | 94 | extern int laptop_mode; |
| 95 | 95 | ||
| @@ -99,7 +99,15 @@ int dirty_writeback_centisecs_handler(struct ctl_table *, int, struct file *, | |||
| 99 | void __user *, size_t *, loff_t *); | 99 | void __user *, size_t *, loff_t *); |
| 100 | 100 | ||
| 101 | void page_writeback_init(void); | 101 | void page_writeback_init(void); |
| 102 | void balance_dirty_pages_ratelimited(struct address_space *mapping); | 102 | void balance_dirty_pages_ratelimited_nr(struct address_space *mapping, |
| 103 | unsigned long nr_pages_dirtied); | ||
| 104 | |||
| 105 | static inline void | ||
| 106 | balance_dirty_pages_ratelimited(struct address_space *mapping) | ||
| 107 | { | ||
| 108 | balance_dirty_pages_ratelimited_nr(mapping, 1); | ||
| 109 | } | ||
| 110 | |||
| 103 | int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0); | 111 | int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0); |
| 104 | int do_writepages(struct address_space *mapping, struct writeback_control *wbc); | 112 | int do_writepages(struct address_space *mapping, struct writeback_control *wbc); |
| 105 | int sync_page_range(struct inode *inode, struct address_space *mapping, | 113 | int sync_page_range(struct inode *inode, struct address_space *mapping, |
