diff options
| author | David Woodhouse <dwmw2@infradead.org> | 2006-10-21 11:46:04 -0400 |
|---|---|---|
| committer | David Woodhouse <dwmw2@infradead.org> | 2006-10-21 11:46:04 -0400 |
| commit | 513b046c96cc2fbce730a3474f6f7ff0c4fdd05c (patch) | |
| tree | e8006368b6f643067486f92405a404757807d6da /include/linux/backing-dev.h | |
| parent | 82810b7b6cc7a74c68881a13b0eb66c7a6370fcc (diff) | |
| parent | c7a3bd177f248d01ee18a01d22048c80e071c331 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
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 f7a1390d67f5..7011d6255593 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | 10 | ||
| 11 | #include <asm/atomic.h> | 11 | #include <asm/atomic.h> |
| 12 | 12 | ||
| 13 | struct page; | ||
| 14 | |||
| 13 | /* | 15 | /* |
| 14 | * Bits in backing_dev_info.state | 16 | * Bits in backing_dev_info.state |
| 15 | */ | 17 | */ |
| @@ -88,6 +90,11 @@ static inline int bdi_rw_congested(struct backing_dev_info *bdi) | |||
| 88 | (1 << BDI_write_congested)); | 90 | (1 << BDI_write_congested)); |
| 89 | } | 91 | } |
| 90 | 92 | ||
| 93 | void clear_bdi_congested(struct backing_dev_info *bdi, int rw); | ||
| 94 | void set_bdi_congested(struct backing_dev_info *bdi, int rw); | ||
| 95 | long congestion_wait(int rw, long timeout); | ||
| 96 | void congestion_end(int rw); | ||
| 97 | |||
| 91 | #define bdi_cap_writeback_dirty(bdi) \ | 98 | #define bdi_cap_writeback_dirty(bdi) \ |
| 92 | (!((bdi)->capabilities & BDI_CAP_NO_WRITEBACK)) | 99 | (!((bdi)->capabilities & BDI_CAP_NO_WRITEBACK)) |
| 93 | 100 | ||
