segment.h (239060b93bb30a4ad55f1ecaa512464a035cc5ba) | segment.h (6c43f41000312fefa482c3bfdd97e7f81d6be0ec) |
---|---|
1/* 2 * segment.h - NILFS Segment constructor prototypes and definitions 3 * 4 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 93 unchanged lines hidden (view full) --- 102 * @sc_curseg: Current segment buffer 103 * @sc_stage: Collection stage 104 * @sc_finfo_ptr: pointer to the current finfo struct in the segment summary 105 * @sc_binfo_ptr: pointer to the current binfo struct in the segment summary 106 * @sc_blk_cnt: Block count of a file 107 * @sc_datablk_cnt: Data block count of a file 108 * @sc_nblk_this_inc: Number of blocks included in the current logical segment 109 * @sc_seg_ctime: Creation time | 1/* 2 * segment.h - NILFS Segment constructor prototypes and definitions 3 * 4 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 93 unchanged lines hidden (view full) --- 102 * @sc_curseg: Current segment buffer 103 * @sc_stage: Collection stage 104 * @sc_finfo_ptr: pointer to the current finfo struct in the segment summary 105 * @sc_binfo_ptr: pointer to the current binfo struct in the segment summary 106 * @sc_blk_cnt: Block count of a file 107 * @sc_datablk_cnt: Data block count of a file 108 * @sc_nblk_this_inc: Number of blocks included in the current logical segment 109 * @sc_seg_ctime: Creation time |
110 * @sc_cno: checkpoint number of current log |
|
110 * @sc_flags: Internal flags 111 * @sc_state_lock: spinlock for sc_state and so on 112 * @sc_state: Segctord state flags 113 * @sc_flush_request: inode bitmap of metadata files to be flushed 114 * @sc_wait_request: Client request queue 115 * @sc_wait_daemon: Daemon wait queue 116 * @sc_wait_task: Start/end wait queue to control segctord task 117 * @sc_seq_request: Request counter --- 33 unchanged lines hidden (view full) --- 151 struct nilfs_cstage sc_stage; 152 153 struct nilfs_segsum_pointer sc_finfo_ptr; 154 struct nilfs_segsum_pointer sc_binfo_ptr; 155 unsigned long sc_blk_cnt; 156 unsigned long sc_datablk_cnt; 157 unsigned long sc_nblk_this_inc; 158 time_t sc_seg_ctime; | 111 * @sc_flags: Internal flags 112 * @sc_state_lock: spinlock for sc_state and so on 113 * @sc_state: Segctord state flags 114 * @sc_flush_request: inode bitmap of metadata files to be flushed 115 * @sc_wait_request: Client request queue 116 * @sc_wait_daemon: Daemon wait queue 117 * @sc_wait_task: Start/end wait queue to control segctord task 118 * @sc_seq_request: Request counter --- 33 unchanged lines hidden (view full) --- 152 struct nilfs_cstage sc_stage; 153 154 struct nilfs_segsum_pointer sc_finfo_ptr; 155 struct nilfs_segsum_pointer sc_binfo_ptr; 156 unsigned long sc_blk_cnt; 157 unsigned long sc_datablk_cnt; 158 unsigned long sc_nblk_this_inc; 159 time_t sc_seg_ctime; |
159 | 160 __u64 sc_cno; |
160 unsigned long sc_flags; 161 162 spinlock_t sc_state_lock; 163 unsigned long sc_state; 164 unsigned long sc_flush_request; 165 166 wait_queue_head_t sc_wait_request; 167 wait_queue_head_t sc_wait_daemon; --- 79 unchanged lines hidden --- | 161 unsigned long sc_flags; 162 163 spinlock_t sc_state_lock; 164 unsigned long sc_state; 165 unsigned long sc_flush_request; 166 167 wait_queue_head_t sc_wait_request; 168 wait_queue_head_t sc_wait_daemon; --- 79 unchanged lines hidden --- |