aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/writeback.h')
-rw-r--r--include/linux/writeback.h11
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. */
109extern int dirty_background_ratio; 109extern int dirty_background_ratio;
110extern unsigned long dirty_background_bytes;
110extern int vm_dirty_ratio; 111extern int vm_dirty_ratio;
112extern unsigned long vm_dirty_bytes;
111extern int dirty_writeback_interval; 113extern int dirty_writeback_interval;
112extern int dirty_expire_interval; 114extern int dirty_expire_interval;
113extern int vm_highmem_is_dirtyable; 115extern int vm_highmem_is_dirtyable;
@@ -116,9 +118,18 @@ extern int laptop_mode;
116 118
117extern unsigned long determine_dirtyable_memory(void); 119extern unsigned long determine_dirtyable_memory(void);
118 120
121extern 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);
124extern 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);
119extern int dirty_ratio_handler(struct ctl_table *table, int write, 127extern 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);
130extern 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
123struct ctl_table; 134struct ctl_table;
124struct file; 135struct file;