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