diff options
Diffstat (limited to 'include/linux/writeback.h')
| -rw-r--r-- | include/linux/writeback.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 9e38b566d0e7..4f4d98addb44 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
| @@ -85,6 +85,7 @@ int wakeup_pdflush(long nr_pages); | |||
| 85 | void laptop_io_completion(void); | 85 | void laptop_io_completion(void); |
| 86 | void laptop_sync_completion(void); | 86 | void laptop_sync_completion(void); |
| 87 | void throttle_vm_writeout(void); | 87 | void throttle_vm_writeout(void); |
| 88 | void writeback_congestion_end(void); | ||
| 88 | 89 | ||
| 89 | /* These are exported to sysctl. */ | 90 | /* These are exported to sysctl. */ |
| 90 | extern int dirty_background_ratio; | 91 | extern int dirty_background_ratio; |
| @@ -110,11 +111,15 @@ balance_dirty_pages_ratelimited(struct address_space *mapping) | |||
| 110 | } | 111 | } |
| 111 | 112 | ||
| 112 | int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0); | 113 | int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0); |
| 114 | extern int generic_writepages(struct address_space *mapping, | ||
| 115 | struct writeback_control *wbc); | ||
| 113 | int do_writepages(struct address_space *mapping, struct writeback_control *wbc); | 116 | int do_writepages(struct address_space *mapping, struct writeback_control *wbc); |
| 114 | int sync_page_range(struct inode *inode, struct address_space *mapping, | 117 | int sync_page_range(struct inode *inode, struct address_space *mapping, |
| 115 | loff_t pos, loff_t count); | 118 | loff_t pos, loff_t count); |
| 116 | int sync_page_range_nolock(struct inode *inode, struct address_space *mapping, | 119 | int sync_page_range_nolock(struct inode *inode, struct address_space *mapping, |
| 117 | loff_t pos, loff_t count); | 120 | loff_t pos, loff_t count); |
| 121 | void set_page_dirty_balance(struct page *page); | ||
| 122 | void writeback_set_ratelimit(void); | ||
| 118 | 123 | ||
| 119 | /* pdflush.c */ | 124 | /* pdflush.c */ |
| 120 | extern int nr_pdflush_threads; /* Global so it can be exported to sysctl | 125 | extern int nr_pdflush_threads; /* Global so it can be exported to sysctl |
