diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/backing-dev.h | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index 9ca241a70c4..dff0ff78e87 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h @@ -75,10 +75,17 @@ struct backing_dev_info {  	struct percpu_counter bdi_stat[NR_BDI_STAT_ITEMS];  	unsigned long bw_time_stamp;	/* last time write bw is updated */ +	unsigned long dirtied_stamp;  	unsigned long written_stamp;	/* pages written at bw_time_stamp */  	unsigned long write_bandwidth;	/* the estimated write bandwidth */  	unsigned long avg_write_bandwidth; /* further smoothed write bw */ +	/* +	 * The base dirty throttle rate, re-calculated on every 200ms. +	 * All the bdi tasks' dirty rate will be curbed under it. +	 */ +	unsigned long dirty_ratelimit; +  	struct prop_local_percpu completions;  	int dirty_exceeded;  |