diff options
Diffstat (limited to 'include/linux/backing-dev.h')
| -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 9ca241a70c49..dff0ff78e878 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h | |||
| @@ -75,10 +75,17 @@ struct backing_dev_info { | |||
| 75 | struct percpu_counter bdi_stat[NR_BDI_STAT_ITEMS]; | 75 | struct percpu_counter bdi_stat[NR_BDI_STAT_ITEMS]; |
| 76 | 76 | ||
| 77 | unsigned long bw_time_stamp; /* last time write bw is updated */ | 77 | unsigned long bw_time_stamp; /* last time write bw is updated */ |
| 78 | unsigned long dirtied_stamp; | ||
| 78 | unsigned long written_stamp; /* pages written at bw_time_stamp */ | 79 | unsigned long written_stamp; /* pages written at bw_time_stamp */ |
| 79 | unsigned long write_bandwidth; /* the estimated write bandwidth */ | 80 | unsigned long write_bandwidth; /* the estimated write bandwidth */ |
| 80 | unsigned long avg_write_bandwidth; /* further smoothed write bw */ | 81 | unsigned long avg_write_bandwidth; /* further smoothed write bw */ |
| 81 | 82 | ||
| 83 | /* | ||
| 84 | * The base dirty throttle rate, re-calculated on every 200ms. | ||
| 85 | * All the bdi tasks' dirty rate will be curbed under it. | ||
| 86 | */ | ||
| 87 | unsigned long dirty_ratelimit; | ||
| 88 | |||
| 82 | struct prop_local_percpu completions; | 89 | struct prop_local_percpu completions; |
| 83 | int dirty_exceeded; | 90 | int dirty_exceeded; |
| 84 | 91 | ||
