blob: 3107532b651311b8b6e0c0958d2fa36b6fe4d9db [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * include/linux/backing-dev.h
3 *
4 * low-level device information and state which is propagated up through
5 * to high-level code.
6 */
7
8#ifndef _LINUX_BACKING_DEV_H
9#define _LINUX_BACKING_DEV_H
10
Peter Zijlstracf0ca9f2008-04-30 00:54:32 -070011#include <linux/kernel.h>
Miklos Szeredie4ad08fe2008-04-30 00:54:37 -070012#include <linux/fs.h>
Jens Axboe03ba3782009-09-09 09:08:54 +020013#include <linux/sched.h>
Tejun Heo0b6d7572015-05-22 17:13:33 -040014#include <linux/blkdev.h>
Jens Axboe03ba3782009-09-09 09:08:54 +020015#include <linux/writeback.h>
Tejun Heo6b385782015-05-22 17:13:37 -040016#include <linux/blk-cgroup.h>
Tejun Heo9d6e9852015-05-22 17:13:32 -040017#include <linux/backing-dev-defs.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Mikulas Patocka8077c0d2013-10-14 12:14:13 -040019int __must_check bdi_init(struct backing_dev_info *bdi);
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070020void bdi_destroy(struct backing_dev_info *bdi);
21
Joe Perchesd2cc4dd2012-11-29 08:37:03 -060022__printf(3, 4)
Peter Zijlstracf0ca9f2008-04-30 00:54:32 -070023int bdi_register(struct backing_dev_info *bdi, struct device *parent,
24 const char *fmt, ...);
25int bdi_register_dev(struct backing_dev_info *bdi, dev_t dev);
Christoph Hellwigb4caecd2015-01-14 10:42:32 +010026int __must_check bdi_setup_and_register(struct backing_dev_info *, char *);
Curt Wohlgemuth0e175a12011-10-07 21:54:10 -060027void bdi_start_writeback(struct backing_dev_info *bdi, long nr_pages,
28 enum wb_reason reason);
Christoph Hellwigc5444192010-06-08 18:15:15 +020029void bdi_start_background_writeback(struct backing_dev_info *bdi);
Tejun Heoc9b0f222015-05-22 17:13:30 -040030void wb_workfn(struct work_struct *work);
Tejun Heoc9b0f222015-05-22 17:13:30 -040031void wb_wakeup_delayed(struct bdi_writeback *wb);
Peter Zijlstracf0ca9f2008-04-30 00:54:32 -070032
Jens Axboe03ba3782009-09-09 09:08:54 +020033extern spinlock_t bdi_lock;
Jens Axboe66f3b8e2009-09-02 09:19:46 +020034extern struct list_head bdi_list;
35
Tejun Heo839a8e82013-04-01 19:08:06 -070036extern struct workqueue_struct *bdi_wq;
37
Tejun Heo00913372015-05-22 17:13:45 -040038static inline bool wb_has_dirty_io(struct bdi_writeback *wb)
Jens Axboe03ba3782009-09-09 09:08:54 +020039{
Tejun Heo00913372015-05-22 17:13:45 -040040 return test_bit(WB_has_dirty_io, &wb->state);
Jens Axboe03ba3782009-09-09 09:08:54 +020041}
42
Tejun Heo42969232015-05-22 17:13:47 -040043static inline bool bdi_has_dirty_io(struct backing_dev_info *bdi)
44{
45 /*
46 * @bdi->tot_write_bandwidth is guaranteed to be > 0 if there are
47 * any dirty wbs. See wb_update_write_bandwidth().
48 */
49 return atomic_long_read(&bdi->tot_write_bandwidth);
50}
51
Tejun Heo9ce34202015-05-22 17:13:27 -040052static inline void __add_wb_stat(struct bdi_writeback *wb,
53 enum wb_stat_item item, s64 amount)
Peter Zijlstrae0bf68d2007-10-16 23:25:46 -070054{
Tejun Heo9ce34202015-05-22 17:13:27 -040055 __percpu_counter_add(&wb->stat[item], amount, WB_STAT_BATCH);
Peter Zijlstrae0bf68d2007-10-16 23:25:46 -070056}
57
Tejun Heo9ce34202015-05-22 17:13:27 -040058static inline void __inc_wb_stat(struct bdi_writeback *wb,
59 enum wb_stat_item item)
Peter Zijlstrae0bf68d2007-10-16 23:25:46 -070060{
Tejun Heo9ce34202015-05-22 17:13:27 -040061 __add_wb_stat(wb, item, 1);
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070062}
63
Tejun Heo9ce34202015-05-22 17:13:27 -040064static inline void inc_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item)
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070065{
66 unsigned long flags;
67
68 local_irq_save(flags);
Tejun Heo9ce34202015-05-22 17:13:27 -040069 __inc_wb_stat(wb, item);
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070070 local_irq_restore(flags);
71}
72
Tejun Heo9ce34202015-05-22 17:13:27 -040073static inline void __dec_wb_stat(struct bdi_writeback *wb,
74 enum wb_stat_item item)
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070075{
Tejun Heo9ce34202015-05-22 17:13:27 -040076 __add_wb_stat(wb, item, -1);
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070077}
78
Tejun Heo9ce34202015-05-22 17:13:27 -040079static inline void dec_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item)
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070080{
81 unsigned long flags;
82
83 local_irq_save(flags);
Tejun Heo9ce34202015-05-22 17:13:27 -040084 __dec_wb_stat(wb, item);
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070085 local_irq_restore(flags);
86}
87
Tejun Heo9ce34202015-05-22 17:13:27 -040088static inline s64 wb_stat(struct bdi_writeback *wb, enum wb_stat_item item)
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070089{
Tejun Heo9ce34202015-05-22 17:13:27 -040090 return percpu_counter_read_positive(&wb->stat[item]);
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070091}
92
Tejun Heo9ce34202015-05-22 17:13:27 -040093static inline s64 __wb_stat_sum(struct bdi_writeback *wb,
94 enum wb_stat_item item)
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070095{
Tejun Heo9ce34202015-05-22 17:13:27 -040096 return percpu_counter_sum_positive(&wb->stat[item]);
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -070097}
98
Tejun Heo9ce34202015-05-22 17:13:27 -040099static inline s64 wb_stat_sum(struct bdi_writeback *wb, enum wb_stat_item item)
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -0700100{
101 s64 sum;
102 unsigned long flags;
103
104 local_irq_save(flags);
Tejun Heo9ce34202015-05-22 17:13:27 -0400105 sum = __wb_stat_sum(wb, item);
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -0700106 local_irq_restore(flags);
107
108 return sum;
109}
110
Tejun Heo9ce34202015-05-22 17:13:27 -0400111extern void wb_writeout_inc(struct bdi_writeback *wb);
Miklos Szeredidd5656e2008-04-30 00:54:37 -0700112
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -0700113/*
114 * maximal error of a stat counter.
115 */
Tejun Heo9ce34202015-05-22 17:13:27 -0400116static inline unsigned long wb_stat_error(struct bdi_writeback *wb)
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -0700117{
118#ifdef CONFIG_SMP
Tejun Heo9ce34202015-05-22 17:13:27 -0400119 return nr_cpu_ids * WB_STAT_BATCH;
Peter Zijlstrab2e8fb62007-10-16 23:25:47 -0700120#else
121 return 1;
122#endif
Peter Zijlstrae0bf68d2007-10-16 23:25:46 -0700123}
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124
Peter Zijlstra189d3c42008-04-30 00:54:35 -0700125int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio);
Peter Zijlstraa42dde02008-04-30 00:54:36 -0700126int bdi_set_max_ratio(struct backing_dev_info *bdi, unsigned int max_ratio);
Peter Zijlstra189d3c42008-04-30 00:54:35 -0700127
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128/*
129 * Flags in backing_dev_info::capability
Miklos Szeredie4ad08fe2008-04-30 00:54:37 -0700130 *
131 * The first three flags control whether dirty pages will contribute to the
132 * VM's accounting and whether writepages() should be called for dirty pages
133 * (something that would not, for example, be appropriate for ramfs)
134 *
135 * WARNING: these flags are closely related and should not normally be
136 * used separately. The BDI_CAP_NO_ACCT_AND_WRITEBACK combines these
137 * three flags into a single convenience macro.
138 *
139 * BDI_CAP_NO_ACCT_DIRTY: Dirty pages shouldn't contribute to accounting
140 * BDI_CAP_NO_WRITEBACK: Don't write pages back
141 * BDI_CAP_NO_ACCT_WB: Don't automatically account writeback pages
Maxim Patlasov5a537482013-09-11 14:22:46 -0700142 * BDI_CAP_STRICTLIMIT: Keep number of dirty pages below bdi threshold.
Tejun Heo0632c4c2015-05-22 17:13:36 -0400143 *
144 * BDI_CAP_CGROUP_WRITEBACK: Supports cgroup-aware writeback.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145 */
Miklos Szeredie4ad08fe2008-04-30 00:54:37 -0700146#define BDI_CAP_NO_ACCT_DIRTY 0x00000001
147#define BDI_CAP_NO_WRITEBACK 0x00000002
Christoph Hellwigb4caecd2015-01-14 10:42:32 +0100148#define BDI_CAP_NO_ACCT_WB 0x00000004
149#define BDI_CAP_STABLE_WRITES 0x00000008
150#define BDI_CAP_STRICTLIMIT 0x00000010
Tejun Heo0632c4c2015-05-22 17:13:36 -0400151#define BDI_CAP_CGROUP_WRITEBACK 0x00000020
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152
Miklos Szeredie4ad08fe2008-04-30 00:54:37 -0700153#define BDI_CAP_NO_ACCT_AND_WRITEBACK \
154 (BDI_CAP_NO_WRITEBACK | BDI_CAP_NO_ACCT_DIRTY | BDI_CAP_NO_ACCT_WB)
155
Jörn Engel5129a462010-04-25 08:54:42 +0200156extern struct backing_dev_info noop_backing_dev_info;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158int writeback_in_progress(struct backing_dev_info *bdi);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700159
Tejun Heo0b6d7572015-05-22 17:13:33 -0400160static inline struct backing_dev_info *inode_to_bdi(struct inode *inode)
161{
162 struct super_block *sb;
163
164 if (!inode)
165 return &noop_backing_dev_info;
166
167 sb = inode->i_sb;
168#ifdef CONFIG_BLOCK
169 if (sb_is_blkdev_sb(sb))
170 return blk_get_backing_dev_info(I_BDEV(inode));
171#endif
172 return sb->s_bdi;
173}
174
Tejun Heo5de85152015-05-22 17:13:41 -0400175static inline int wb_congested(struct bdi_writeback *wb, int cong_bits)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700176{
Tejun Heo5de85152015-05-22 17:13:41 -0400177 struct backing_dev_info *bdi = wb->bdi;
178
Linus Torvalds1da177e2005-04-16 15:20:36 -0700179 if (bdi->congested_fn)
Tejun Heo5de85152015-05-22 17:13:41 -0400180 return bdi->congested_fn(bdi->congested_data, cong_bits);
181 return wb->congested->state & cong_bits;
Linus Torvalds1da177e2005-04-16 15:20:36 -0700182}
183
Jens Axboe8aa7e842009-07-09 14:52:32 +0200184long congestion_wait(int sync, long timeout);
Mel Gorman0e093d992010-10-26 14:21:45 -0700185long wait_iff_congested(struct zone *zone, int sync, long timeout);
Wanpeng Li3965c9a2012-07-31 16:41:52 -0700186int pdflush_proc_obsolete(struct ctl_table *table, int write,
187 void __user *buffer, size_t *lenp, loff_t *ppos);
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188
Darrick J. Wong7d311cd2013-02-21 16:42:48 -0800189static inline bool bdi_cap_stable_pages_required(struct backing_dev_info *bdi)
190{
191 return bdi->capabilities & BDI_CAP_STABLE_WRITES;
192}
193
Miklos Szeredie4ad08fe2008-04-30 00:54:37 -0700194static inline bool bdi_cap_writeback_dirty(struct backing_dev_info *bdi)
195{
196 return !(bdi->capabilities & BDI_CAP_NO_WRITEBACK);
197}
Linus Torvalds1da177e2005-04-16 15:20:36 -0700198
Miklos Szeredie4ad08fe2008-04-30 00:54:37 -0700199static inline bool bdi_cap_account_dirty(struct backing_dev_info *bdi)
200{
201 return !(bdi->capabilities & BDI_CAP_NO_ACCT_DIRTY);
202}
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203
Miklos Szeredie4ad08fe2008-04-30 00:54:37 -0700204static inline bool bdi_cap_account_writeback(struct backing_dev_info *bdi)
205{
206 /* Paranoia: BDI_CAP_NO_WRITEBACK implies BDI_CAP_NO_ACCT_WB */
207 return !(bdi->capabilities & (BDI_CAP_NO_ACCT_WB |
208 BDI_CAP_NO_WRITEBACK));
209}
Linus Torvalds1da177e2005-04-16 15:20:36 -0700210
Miklos Szeredie4ad08fe2008-04-30 00:54:37 -0700211static inline bool mapping_cap_writeback_dirty(struct address_space *mapping)
212{
Christoph Hellwigde1414a2015-01-14 10:42:36 +0100213 return bdi_cap_writeback_dirty(inode_to_bdi(mapping->host));
Miklos Szeredie4ad08fe2008-04-30 00:54:37 -0700214}
215
216static inline bool mapping_cap_account_dirty(struct address_space *mapping)
217{
Christoph Hellwigde1414a2015-01-14 10:42:36 +0100218 return bdi_cap_account_dirty(inode_to_bdi(mapping->host));
Miklos Szeredie4ad08fe2008-04-30 00:54:37 -0700219}
Linus Torvalds1da177e2005-04-16 15:20:36 -0700220
Jens Axboe03ba3782009-09-09 09:08:54 +0200221static inline int bdi_sched_wait(void *word)
222{
223 schedule();
224 return 0;
225}
226
Tejun Heo0632c4c2015-05-22 17:13:36 -0400227#ifdef CONFIG_CGROUP_WRITEBACK
228
Tejun Heo6b385782015-05-22 17:13:37 -0400229struct bdi_writeback_congested *
230wb_congested_get_create(struct backing_dev_info *bdi, int blkcg_id, gfp_t gfp);
231void wb_congested_put(struct bdi_writeback_congested *congested);
232struct bdi_writeback *wb_get_create(struct backing_dev_info *bdi,
233 struct cgroup_subsys_state *memcg_css,
234 gfp_t gfp);
235void __inode_attach_wb(struct inode *inode, struct page *page);
236void wb_memcg_offline(struct mem_cgroup *memcg);
237void wb_blkcg_offline(struct blkcg *blkcg);
Tejun Heo28928452015-05-22 17:13:44 -0400238int inode_congested(struct inode *inode, int cong_bits);
Tejun Heo6b385782015-05-22 17:13:37 -0400239
Tejun Heo0632c4c2015-05-22 17:13:36 -0400240/**
241 * inode_cgwb_enabled - test whether cgroup writeback is enabled on an inode
242 * @inode: inode of interest
243 *
244 * cgroup writeback requires support from both the bdi and filesystem.
245 * Test whether @inode has both.
246 */
247static inline bool inode_cgwb_enabled(struct inode *inode)
248{
249 struct backing_dev_info *bdi = inode_to_bdi(inode);
250
251 return bdi_cap_account_dirty(bdi) &&
252 (bdi->capabilities & BDI_CAP_CGROUP_WRITEBACK) &&
253 (inode->i_sb->s_type->fs_flags & FS_CGROUP_WRITEBACK);
254}
255
Tejun Heo6b385782015-05-22 17:13:37 -0400256/**
257 * wb_tryget - try to increment a wb's refcount
258 * @wb: bdi_writeback to get
259 */
260static inline bool wb_tryget(struct bdi_writeback *wb)
261{
262 if (wb != &wb->bdi->wb)
263 return percpu_ref_tryget(&wb->refcnt);
264 return true;
265}
266
267/**
268 * wb_get - increment a wb's refcount
269 * @wb: bdi_writeback to get
270 */
271static inline void wb_get(struct bdi_writeback *wb)
272{
273 if (wb != &wb->bdi->wb)
274 percpu_ref_get(&wb->refcnt);
275}
276
277/**
278 * wb_put - decrement a wb's refcount
279 * @wb: bdi_writeback to put
280 */
281static inline void wb_put(struct bdi_writeback *wb)
282{
283 if (wb != &wb->bdi->wb)
284 percpu_ref_put(&wb->refcnt);
285}
286
287/**
288 * wb_find_current - find wb for %current on a bdi
289 * @bdi: bdi of interest
290 *
291 * Find the wb of @bdi which matches both the memcg and blkcg of %current.
292 * Must be called under rcu_read_lock() which protects the returend wb.
293 * NULL if not found.
294 */
295static inline struct bdi_writeback *wb_find_current(struct backing_dev_info *bdi)
296{
297 struct cgroup_subsys_state *memcg_css;
298 struct bdi_writeback *wb;
299
300 memcg_css = task_css(current, memory_cgrp_id);
301 if (!memcg_css->parent)
302 return &bdi->wb;
303
304 wb = radix_tree_lookup(&bdi->cgwb_tree, memcg_css->id);
305
306 /*
307 * %current's blkcg equals the effective blkcg of its memcg. No
308 * need to use the relatively expensive cgroup_get_e_css().
309 */
310 if (likely(wb && wb->blkcg_css == task_css(current, blkio_cgrp_id)))
311 return wb;
312 return NULL;
313}
314
315/**
316 * wb_get_create_current - get or create wb for %current on a bdi
317 * @bdi: bdi of interest
318 * @gfp: allocation mask
319 *
320 * Equivalent to wb_get_create() on %current's memcg. This function is
321 * called from a relatively hot path and optimizes the common cases using
322 * wb_find_current().
323 */
324static inline struct bdi_writeback *
325wb_get_create_current(struct backing_dev_info *bdi, gfp_t gfp)
326{
327 struct bdi_writeback *wb;
328
329 rcu_read_lock();
330 wb = wb_find_current(bdi);
331 if (wb && unlikely(!wb_tryget(wb)))
332 wb = NULL;
333 rcu_read_unlock();
334
335 if (unlikely(!wb)) {
336 struct cgroup_subsys_state *memcg_css;
337
338 memcg_css = task_get_css(current, memory_cgrp_id);
339 wb = wb_get_create(bdi, memcg_css, gfp);
340 css_put(memcg_css);
341 }
342 return wb;
343}
344
345/**
346 * inode_attach_wb - associate an inode with its wb
347 * @inode: inode of interest
348 * @page: page being dirtied (may be NULL)
349 *
350 * If @inode doesn't have its wb, associate it with the wb matching the
351 * memcg of @page or, if @page is NULL, %current. May be called w/ or w/o
352 * @inode->i_lock.
353 */
354static inline void inode_attach_wb(struct inode *inode, struct page *page)
355{
356 if (!inode->i_wb)
357 __inode_attach_wb(inode, page);
358}
359
360/**
361 * inode_detach_wb - disassociate an inode from its wb
362 * @inode: inode of interest
363 *
364 * @inode is being freed. Detach from its wb.
365 */
366static inline void inode_detach_wb(struct inode *inode)
367{
368 if (inode->i_wb) {
369 wb_put(inode->i_wb);
370 inode->i_wb = NULL;
371 }
372}
373
374/**
375 * inode_to_wb - determine the wb of an inode
376 * @inode: inode of interest
377 *
378 * Returns the wb @inode is currently associated with.
379 */
380static inline struct bdi_writeback *inode_to_wb(struct inode *inode)
381{
382 return inode->i_wb;
383}
384
Tejun Heo0632c4c2015-05-22 17:13:36 -0400385#else /* CONFIG_CGROUP_WRITEBACK */
386
387static inline bool inode_cgwb_enabled(struct inode *inode)
388{
389 return false;
390}
391
Tejun Heo6b385782015-05-22 17:13:37 -0400392static inline struct bdi_writeback_congested *
393wb_congested_get_create(struct backing_dev_info *bdi, int blkcg_id, gfp_t gfp)
394{
395 return bdi->wb.congested;
396}
397
398static inline void wb_congested_put(struct bdi_writeback_congested *congested)
399{
400}
401
402static inline bool wb_tryget(struct bdi_writeback *wb)
403{
404 return true;
405}
406
407static inline void wb_get(struct bdi_writeback *wb)
408{
409}
410
411static inline void wb_put(struct bdi_writeback *wb)
412{
413}
414
415static inline struct bdi_writeback *wb_find_current(struct backing_dev_info *bdi)
416{
417 return &bdi->wb;
418}
419
420static inline struct bdi_writeback *
421wb_get_create_current(struct backing_dev_info *bdi, gfp_t gfp)
422{
423 return &bdi->wb;
424}
425
426static inline void inode_attach_wb(struct inode *inode, struct page *page)
427{
428}
429
430static inline void inode_detach_wb(struct inode *inode)
431{
432}
433
434static inline struct bdi_writeback *inode_to_wb(struct inode *inode)
435{
436 return &inode_to_bdi(inode)->wb;
437}
438
439static inline void wb_memcg_offline(struct mem_cgroup *memcg)
440{
441}
442
443static inline void wb_blkcg_offline(struct blkcg *blkcg)
444{
445}
446
Tejun Heo28928452015-05-22 17:13:44 -0400447static inline int inode_congested(struct inode *inode, int cong_bits)
448{
449 return wb_congested(&inode_to_bdi(inode)->wb, cong_bits);
450}
451
Tejun Heo0632c4c2015-05-22 17:13:36 -0400452#endif /* CONFIG_CGROUP_WRITEBACK */
453
Tejun Heo28928452015-05-22 17:13:44 -0400454static inline int inode_read_congested(struct inode *inode)
455{
456 return inode_congested(inode, 1 << WB_sync_congested);
457}
458
459static inline int inode_write_congested(struct inode *inode)
460{
461 return inode_congested(inode, 1 << WB_async_congested);
462}
463
464static inline int inode_rw_congested(struct inode *inode)
465{
466 return inode_congested(inode, (1 << WB_sync_congested) |
467 (1 << WB_async_congested));
468}
469
Tejun Heo5de85152015-05-22 17:13:41 -0400470static inline int bdi_congested(struct backing_dev_info *bdi, int cong_bits)
471{
472 return wb_congested(&bdi->wb, cong_bits);
473}
474
475static inline int bdi_read_congested(struct backing_dev_info *bdi)
476{
477 return bdi_congested(bdi, 1 << WB_sync_congested);
478}
479
480static inline int bdi_write_congested(struct backing_dev_info *bdi)
481{
482 return bdi_congested(bdi, 1 << WB_async_congested);
483}
484
485static inline int bdi_rw_congested(struct backing_dev_info *bdi)
486{
487 return bdi_congested(bdi, (1 << WB_sync_congested) |
488 (1 << WB_async_congested));
489}
490
Tejun Heo0632c4c2015-05-22 17:13:36 -0400491#endif /* _LINUX_BACKING_DEV_H */