diff options
Diffstat (limited to 'fs/nilfs2/segment.h')
| -rw-r--r-- | fs/nilfs2/segment.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nilfs2/segment.h b/fs/nilfs2/segment.h index 38a1d0013314..a48d6de1e02c 100644 --- a/fs/nilfs2/segment.h +++ b/fs/nilfs2/segment.h | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | #include <linux/types.h> | 26 | #include <linux/types.h> |
| 27 | #include <linux/fs.h> | 27 | #include <linux/fs.h> |
| 28 | #include <linux/buffer_head.h> | 28 | #include <linux/buffer_head.h> |
| 29 | #include <linux/workqueue.h> | ||
| 29 | #include <linux/nilfs2_fs.h> | 30 | #include <linux/nilfs2_fs.h> |
| 30 | #include "nilfs.h" | 31 | #include "nilfs.h" |
| 31 | 32 | ||
| @@ -92,6 +93,8 @@ struct nilfs_segsum_pointer { | |||
| 92 | * @sc_nblk_inc: Block count of current generation | 93 | * @sc_nblk_inc: Block count of current generation |
| 93 | * @sc_dirty_files: List of files to be written | 94 | * @sc_dirty_files: List of files to be written |
| 94 | * @sc_gc_inodes: List of GC inodes having blocks to be written | 95 | * @sc_gc_inodes: List of GC inodes having blocks to be written |
| 96 | * @sc_iput_queue: list of inodes for which iput should be done | ||
| 97 | * @sc_iput_work: work struct to defer iput call | ||
| 95 | * @sc_freesegs: array of segment numbers to be freed | 98 | * @sc_freesegs: array of segment numbers to be freed |
| 96 | * @sc_nfreesegs: number of segments on @sc_freesegs | 99 | * @sc_nfreesegs: number of segments on @sc_freesegs |
| 97 | * @sc_dsync_inode: inode whose data pages are written for a sync operation | 100 | * @sc_dsync_inode: inode whose data pages are written for a sync operation |
| @@ -135,6 +138,8 @@ struct nilfs_sc_info { | |||
| 135 | 138 | ||
| 136 | struct list_head sc_dirty_files; | 139 | struct list_head sc_dirty_files; |
| 137 | struct list_head sc_gc_inodes; | 140 | struct list_head sc_gc_inodes; |
| 141 | struct list_head sc_iput_queue; | ||
| 142 | struct work_struct sc_iput_work; | ||
| 138 | 143 | ||
| 139 | __u64 *sc_freesegs; | 144 | __u64 *sc_freesegs; |
| 140 | size_t sc_nfreesegs; | 145 | size_t sc_nfreesegs; |
