diff options
Diffstat (limited to 'include/linux/writeback.h')
-rw-r--r-- | include/linux/writeback.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index d347632f1861..66ebddcff664 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
@@ -50,7 +50,6 @@ struct writeback_control { | |||
50 | unsigned encountered_congestion:1; /* An output: a queue is full */ | 50 | unsigned encountered_congestion:1; /* An output: a queue is full */ |
51 | unsigned for_kupdate:1; /* A kupdate writeback */ | 51 | unsigned for_kupdate:1; /* A kupdate writeback */ |
52 | unsigned for_reclaim:1; /* Invoked from the page allocator */ | 52 | unsigned for_reclaim:1; /* Invoked from the page allocator */ |
53 | unsigned for_writepages:1; /* This is a writepages() call */ | ||
54 | unsigned range_cyclic:1; /* range_start is cyclic */ | 53 | unsigned range_cyclic:1; /* range_start is cyclic */ |
55 | unsigned more_io:1; /* more io to be dispatched */ | 54 | unsigned more_io:1; /* more io to be dispatched */ |
56 | /* | 55 | /* |
@@ -69,8 +68,8 @@ struct writeback_control { | |||
69 | */ | 68 | */ |
70 | struct bdi_writeback; | 69 | struct bdi_writeback; |
71 | int inode_wait(void *); | 70 | int inode_wait(void *); |
72 | long writeback_inodes_sb(struct super_block *); | 71 | void writeback_inodes_sb(struct super_block *); |
73 | long sync_inodes_sb(struct super_block *); | 72 | void sync_inodes_sb(struct super_block *); |
74 | void writeback_inodes_wbc(struct writeback_control *wbc); | 73 | void writeback_inodes_wbc(struct writeback_control *wbc); |
75 | long wb_do_writeback(struct bdi_writeback *wb, int force_wait); | 74 | long wb_do_writeback(struct bdi_writeback *wb, int force_wait); |
76 | void wakeup_flusher_threads(long nr_pages); | 75 | void wakeup_flusher_threads(long nr_pages); |
@@ -111,21 +110,20 @@ extern int laptop_mode; | |||
111 | extern unsigned long determine_dirtyable_memory(void); | 110 | extern unsigned long determine_dirtyable_memory(void); |
112 | 111 | ||
113 | extern int dirty_background_ratio_handler(struct ctl_table *table, int write, | 112 | extern int dirty_background_ratio_handler(struct ctl_table *table, int write, |
114 | struct file *filp, void __user *buffer, size_t *lenp, | 113 | void __user *buffer, size_t *lenp, |
115 | loff_t *ppos); | 114 | loff_t *ppos); |
116 | extern int dirty_background_bytes_handler(struct ctl_table *table, int write, | 115 | extern int dirty_background_bytes_handler(struct ctl_table *table, int write, |
117 | struct file *filp, void __user *buffer, size_t *lenp, | 116 | void __user *buffer, size_t *lenp, |
118 | loff_t *ppos); | 117 | loff_t *ppos); |
119 | extern int dirty_ratio_handler(struct ctl_table *table, int write, | 118 | extern int dirty_ratio_handler(struct ctl_table *table, int write, |
120 | struct file *filp, void __user *buffer, size_t *lenp, | 119 | void __user *buffer, size_t *lenp, |
121 | loff_t *ppos); | 120 | loff_t *ppos); |
122 | extern int dirty_bytes_handler(struct ctl_table *table, int write, | 121 | extern int dirty_bytes_handler(struct ctl_table *table, int write, |
123 | struct file *filp, void __user *buffer, size_t *lenp, | 122 | void __user *buffer, size_t *lenp, |
124 | loff_t *ppos); | 123 | loff_t *ppos); |
125 | 124 | ||
126 | struct ctl_table; | 125 | struct ctl_table; |
127 | struct file; | 126 | int dirty_writeback_centisecs_handler(struct ctl_table *, int, |
128 | int dirty_writeback_centisecs_handler(struct ctl_table *, int, struct file *, | ||
129 | void __user *, size_t *, loff_t *); | 127 | void __user *, size_t *, loff_t *); |
130 | 128 | ||
131 | void get_dirty_limits(unsigned long *pbackground, unsigned long *pdirty, | 129 | void get_dirty_limits(unsigned long *pbackground, unsigned long *pdirty, |