aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/backing-dev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h
index 6d513666d45c..9a8965518d1d 100644
--- a/include/linux/backing-dev.h
+++ b/include/linux/backing-dev.h
@@ -51,6 +51,8 @@ struct backing_dev_info {
51 struct prop_local_percpu completions; 51 struct prop_local_percpu completions;
52 int dirty_exceeded; 52 int dirty_exceeded;
53 53
54 unsigned int min_ratio;
55
54 struct device *dev; 56 struct device *dev;
55}; 57};
56 58
@@ -137,6 +139,8 @@ static inline unsigned long bdi_stat_error(struct backing_dev_info *bdi)
137#endif 139#endif
138} 140}
139 141
142int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio);
143
140/* 144/*
141 * Flags in backing_dev_info::capability 145 * Flags in backing_dev_info::capability
142 * - The first two flags control whether dirty pages will contribute to the 146 * - The first two flags control whether dirty pages will contribute to the