diff options
Diffstat (limited to 'include/linux/writeback.h')
| -rw-r--r-- | include/linux/writeback.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/linux/writeback.h b/include/linux/writeback.h index cc97d6caf2b3..d63ef8f9609f 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h | |||
| @@ -56,24 +56,6 @@ struct writeback_control { | |||
| 56 | unsigned for_reclaim:1; /* Invoked from the page allocator */ | 56 | unsigned for_reclaim:1; /* Invoked from the page allocator */ |
| 57 | unsigned range_cyclic:1; /* range_start is cyclic */ | 57 | unsigned range_cyclic:1; /* range_start is cyclic */ |
| 58 | unsigned more_io:1; /* more io to be dispatched */ | 58 | unsigned more_io:1; /* more io to be dispatched */ |
| 59 | /* | ||
| 60 | * write_cache_pages() won't update wbc->nr_to_write and | ||
| 61 | * mapping->writeback_index if no_nrwrite_index_update | ||
| 62 | * is set. write_cache_pages() may write more than we | ||
| 63 | * requested and we want to make sure nr_to_write and | ||
| 64 | * writeback_index are updated in a consistent manner | ||
| 65 | * so we use a single control to update them | ||
| 66 | */ | ||
| 67 | unsigned no_nrwrite_index_update:1; | ||
| 68 | |||
| 69 | /* | ||
| 70 | * For WB_SYNC_ALL, the sb must always be pinned. For WB_SYNC_NONE, | ||
| 71 | * the writeback code will pin the sb for the caller. However, | ||
| 72 | * for eg umount, the caller does WB_SYNC_NONE but already has | ||
| 73 | * the sb pinned. If the below is set, caller already has the | ||
| 74 | * sb pinned. | ||
| 75 | */ | ||
| 76 | unsigned sb_pinned:1; | ||
| 77 | }; | 59 | }; |
| 78 | 60 | ||
| 79 | /* | 61 | /* |
| @@ -82,7 +64,6 @@ struct writeback_control { | |||
| 82 | struct bdi_writeback; | 64 | struct bdi_writeback; |
| 83 | int inode_wait(void *); | 65 | int inode_wait(void *); |
| 84 | void writeback_inodes_sb(struct super_block *); | 66 | void writeback_inodes_sb(struct super_block *); |
| 85 | void writeback_inodes_sb_locked(struct super_block *); | ||
| 86 | int writeback_inodes_sb_if_idle(struct super_block *); | 67 | int writeback_inodes_sb_if_idle(struct super_block *); |
| 87 | void sync_inodes_sb(struct super_block *); | 68 | void sync_inodes_sb(struct super_block *); |
| 88 | void writeback_inodes_wbc(struct writeback_control *wbc); | 69 | void writeback_inodes_wbc(struct writeback_control *wbc); |
