diff options
Diffstat (limited to 'include/linux/writeback.h')
-rw-r--r-- | include/linux/writeback.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 07039299603d..cef75527a14c 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
@@ -40,6 +40,8 @@ enum writeback_sync_modes { | |||
40 | struct writeback_control { | 40 | struct writeback_control { |
41 | struct backing_dev_info *bdi; /* If !NULL, only write back this | 41 | struct backing_dev_info *bdi; /* If !NULL, only write back this |
42 | queue */ | 42 | queue */ |
43 | struct super_block *sb; /* if !NULL, only write inodes from | ||
44 | this super_block */ | ||
43 | enum writeback_sync_modes sync_mode; | 45 | enum writeback_sync_modes sync_mode; |
44 | unsigned long *older_than_this; /* If !NULL, only write back inodes | 46 | unsigned long *older_than_this; /* If !NULL, only write back inodes |
45 | older than this */ | 47 | older than this */ |
@@ -76,10 +78,13 @@ struct writeback_control { | |||
76 | /* | 78 | /* |
77 | * fs/fs-writeback.c | 79 | * fs/fs-writeback.c |
78 | */ | 80 | */ |
79 | void writeback_inodes(struct writeback_control *wbc); | 81 | struct bdi_writeback; |
80 | int inode_wait(void *); | 82 | int inode_wait(void *); |
81 | long writeback_inodes_sb(struct super_block *); | 83 | long writeback_inodes_sb(struct super_block *); |
82 | long sync_inodes_sb(struct super_block *); | 84 | long sync_inodes_sb(struct super_block *); |
85 | void writeback_inodes_wbc(struct writeback_control *wbc); | ||
86 | long wb_do_writeback(struct bdi_writeback *wb, int force_wait); | ||
87 | void wakeup_flusher_threads(long nr_pages); | ||
83 | 88 | ||
84 | /* writeback.h requires fs.h; it, too, is not included from here. */ | 89 | /* writeback.h requires fs.h; it, too, is not included from here. */ |
85 | static inline void wait_on_inode(struct inode *inode) | 90 | static inline void wait_on_inode(struct inode *inode) |
@@ -99,7 +104,6 @@ static inline void inode_sync_wait(struct inode *inode) | |||
99 | /* | 104 | /* |
100 | * mm/page-writeback.c | 105 | * mm/page-writeback.c |
101 | */ | 106 | */ |
102 | int wakeup_pdflush(long nr_pages); | ||
103 | void laptop_io_completion(void); | 107 | void laptop_io_completion(void); |
104 | void laptop_sync_completion(void); | 108 | void laptop_sync_completion(void); |
105 | void throttle_vm_writeout(gfp_t gfp_mask); | 109 | void throttle_vm_writeout(gfp_t gfp_mask); |