aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/backing-dev.h4
-rw-r--r--include/linux/writeback.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h
index 4d9222c2f222..48a62baace58 100644
--- a/include/linux/backing-dev.h
+++ b/include/linux/backing-dev.h
@@ -10,6 +10,7 @@
10 10
11#include <linux/percpu_counter.h> 11#include <linux/percpu_counter.h>
12#include <linux/log2.h> 12#include <linux/log2.h>
13#include <linux/proportions.h>
13#include <asm/atomic.h> 14#include <asm/atomic.h>
14 15
15struct page; 16struct page;
@@ -44,6 +45,9 @@ struct backing_dev_info {
44 void *unplug_io_data; 45 void *unplug_io_data;
45 46
46 struct percpu_counter bdi_stat[NR_BDI_STAT_ITEMS]; 47 struct percpu_counter bdi_stat[NR_BDI_STAT_ITEMS];
48
49 struct prop_local_percpu completions;
50 int dirty_exceeded;
47}; 51};
48 52
49int bdi_init(struct backing_dev_info *bdi); 53int bdi_init(struct backing_dev_info *bdi);
diff --git a/include/linux/writeback.h b/include/linux/writeback.h
index d1321a81c9c4..52be879793ed 100644
--- a/include/linux/writeback.h
+++ b/include/linux/writeback.h
@@ -97,6 +97,10 @@ extern int dirty_expire_interval;
97extern int block_dump; 97extern int block_dump;
98extern int laptop_mode; 98extern int laptop_mode;
99 99
100extern int dirty_ratio_handler(struct ctl_table *table, int write,
101 struct file *filp, void __user *buffer, size_t *lenp,
102 loff_t *ppos);
103
100struct ctl_table; 104struct ctl_table;
101struct file; 105struct file;
102int dirty_writeback_centisecs_handler(struct ctl_table *, int, struct file *, 106int dirty_writeback_centisecs_handler(struct ctl_table *, int, struct file *,