diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /fs/nilfs2/segment.h | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'fs/nilfs2/segment.h')
-rw-r--r-- | fs/nilfs2/segment.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/fs/nilfs2/segment.h b/fs/nilfs2/segment.h index 0d2a475a741b..82dfd6a686b9 100644 --- a/fs/nilfs2/segment.h +++ b/fs/nilfs2/segment.h | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "sb.h" | 30 | #include "sb.h" |
31 | 31 | ||
32 | /** | 32 | /** |
33 | * struct nilfs_recovery_info - Recovery infomation | 33 | * struct nilfs_recovery_info - Recovery information |
34 | * @ri_need_recovery: Recovery status | 34 | * @ri_need_recovery: Recovery status |
35 | * @ri_super_root: Block number of the last super root | 35 | * @ri_super_root: Block number of the last super root |
36 | * @ri_ri_cno: Number of the last checkpoint | 36 | * @ri_ri_cno: Number of the last checkpoint |
@@ -71,7 +71,7 @@ struct nilfs_recovery_info { | |||
71 | */ | 71 | */ |
72 | struct nilfs_cstage { | 72 | struct nilfs_cstage { |
73 | int scnt; | 73 | int scnt; |
74 | unsigned flags; | 74 | unsigned flags; |
75 | struct nilfs_inode_info *dirty_file_ptr; | 75 | struct nilfs_inode_info *dirty_file_ptr; |
76 | struct nilfs_inode_info *gc_inode_ptr; | 76 | struct nilfs_inode_info *gc_inode_ptr; |
77 | }; | 77 | }; |
@@ -97,6 +97,7 @@ struct nilfs_segsum_pointer { | |||
97 | * @sc_dsync_start: start byte offset of data pages | 97 | * @sc_dsync_start: start byte offset of data pages |
98 | * @sc_dsync_end: end byte offset of data pages (inclusive) | 98 | * @sc_dsync_end: end byte offset of data pages (inclusive) |
99 | * @sc_segbufs: List of segment buffers | 99 | * @sc_segbufs: List of segment buffers |
100 | * @sc_write_logs: List of segment buffers to hold logs under writing | ||
100 | * @sc_segbuf_nblocks: Number of available blocks in segment buffers. | 101 | * @sc_segbuf_nblocks: Number of available blocks in segment buffers. |
101 | * @sc_curseg: Current segment buffer | 102 | * @sc_curseg: Current segment buffer |
102 | * @sc_super_root: Pointer to the super root buffer | 103 | * @sc_super_root: Pointer to the super root buffer |
@@ -115,6 +116,7 @@ struct nilfs_segsum_pointer { | |||
115 | * @sc_wait_daemon: Daemon wait queue | 116 | * @sc_wait_daemon: Daemon wait queue |
116 | * @sc_wait_task: Start/end wait queue to control segctord task | 117 | * @sc_wait_task: Start/end wait queue to control segctord task |
117 | * @sc_seq_request: Request counter | 118 | * @sc_seq_request: Request counter |
119 | * @sc_seq_accept: Accepted request count | ||
118 | * @sc_seq_done: Completion counter | 120 | * @sc_seq_done: Completion counter |
119 | * @sc_sync: Request of explicit sync operation | 121 | * @sc_sync: Request of explicit sync operation |
120 | * @sc_interval: Timeout value of background construction | 122 | * @sc_interval: Timeout value of background construction |
@@ -143,6 +145,7 @@ struct nilfs_sc_info { | |||
143 | 145 | ||
144 | /* Segment buffers */ | 146 | /* Segment buffers */ |
145 | struct list_head sc_segbufs; | 147 | struct list_head sc_segbufs; |
148 | struct list_head sc_write_logs; | ||
146 | unsigned long sc_segbuf_nblocks; | 149 | unsigned long sc_segbuf_nblocks; |
147 | struct nilfs_segment_buffer *sc_curseg; | 150 | struct nilfs_segment_buffer *sc_curseg; |
148 | struct buffer_head *sc_super_root; | 151 | struct buffer_head *sc_super_root; |
@@ -167,6 +170,7 @@ struct nilfs_sc_info { | |||
167 | wait_queue_head_t sc_wait_task; | 170 | wait_queue_head_t sc_wait_task; |
168 | 171 | ||
169 | __u32 sc_seq_request; | 172 | __u32 sc_seq_request; |
173 | __u32 sc_seq_accepted; | ||
170 | __u32 sc_seq_done; | 174 | __u32 sc_seq_done; |
171 | 175 | ||
172 | int sc_sync; | 176 | int sc_sync; |