diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/writeback.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 259e9ea58cab..bb28c975c1d7 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
@@ -107,7 +107,9 @@ void throttle_vm_writeout(gfp_t gfp_mask); | |||
107 | 107 | ||
108 | /* These are exported to sysctl. */ | 108 | /* These are exported to sysctl. */ |
109 | extern int dirty_background_ratio; | 109 | extern int dirty_background_ratio; |
110 | extern unsigned long dirty_background_bytes; | ||
110 | extern int vm_dirty_ratio; | 111 | extern int vm_dirty_ratio; |
112 | extern unsigned long vm_dirty_bytes; | ||
111 | extern int dirty_writeback_interval; | 113 | extern int dirty_writeback_interval; |
112 | extern int dirty_expire_interval; | 114 | extern int dirty_expire_interval; |
113 | extern int vm_highmem_is_dirtyable; | 115 | extern int vm_highmem_is_dirtyable; |
@@ -116,9 +118,18 @@ extern int laptop_mode; | |||
116 | 118 | ||
117 | extern unsigned long determine_dirtyable_memory(void); | 119 | extern unsigned long determine_dirtyable_memory(void); |
118 | 120 | ||
121 | extern int dirty_background_ratio_handler(struct ctl_table *table, int write, | ||
122 | struct file *filp, void __user *buffer, size_t *lenp, | ||
123 | loff_t *ppos); | ||
124 | extern int dirty_background_bytes_handler(struct ctl_table *table, int write, | ||
125 | struct file *filp, void __user *buffer, size_t *lenp, | ||
126 | loff_t *ppos); | ||
119 | extern int dirty_ratio_handler(struct ctl_table *table, int write, | 127 | extern int dirty_ratio_handler(struct ctl_table *table, int write, |
120 | struct file *filp, void __user *buffer, size_t *lenp, | 128 | struct file *filp, void __user *buffer, size_t *lenp, |
121 | loff_t *ppos); | 129 | loff_t *ppos); |
130 | extern int dirty_bytes_handler(struct ctl_table *table, int write, | ||
131 | struct file *filp, void __user *buffer, size_t *lenp, | ||
132 | loff_t *ppos); | ||
122 | 133 | ||
123 | struct ctl_table; | 134 | struct ctl_table; |
124 | struct file; | 135 | struct file; |