Lines Matching defs:bdi_writeback
108 struct bdi_writeback { struct
109 struct backing_dev_info *bdi; /* our parent bdi */
111 unsigned long state; /* Always use atomic bitops on this */
112 unsigned long last_old_flush; /* last old data flush */
114 struct list_head b_dirty; /* dirty inodes */
115 struct list_head b_io; /* parked for writeback */
116 struct list_head b_more_io; /* parked for more writeback */
117 struct list_head b_dirty_time; /* time stamps are dirty */
118 spinlock_t list_lock; /* protects the b_* lists */
120 struct percpu_counter stat[NR_WB_STAT_ITEMS];
122 unsigned long congested; /* WB_[a]sync_congested flags */
124 unsigned long bw_time_stamp; /* last time write bw is updated */
125 unsigned long dirtied_stamp;
126 unsigned long written_stamp; /* pages written at bw_time_stamp */
127 unsigned long write_bandwidth; /* the estimated write bandwidth */
128 unsigned long avg_write_bandwidth; /* further smoothed write bw, > 0 */
136 unsigned long dirty_ratelimit;
137 unsigned long balanced_dirty_ratelimit;
139 struct fprop_local_percpu completions;
140 int dirty_exceeded;
141 enum wb_reason start_all_reason;
143 spinlock_t work_lock; /* protects work_list & dwork scheduling */
144 struct list_head work_list;
145 struct delayed_work dwork; /* work item used for writeback */
147 unsigned long dirty_sleep; /* last wait */
149 struct list_head bdi_node; /* anchored at bdi->wb_list */
152 struct percpu_ref refcnt; /* used only for !root wb's */
153 struct fprop_local_percpu memcg_completions;
154 struct cgroup_subsys_state *memcg_css; /* the associated memcg */
155 struct cgroup_subsys_state *blkcg_css; /* and blkcg */
156 struct list_head memcg_node; /* anchored at memcg->cgwb_list */
157 struct list_head blkcg_node; /* anchored at blkcg->cgwb_list */
159 union {