Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
nilfs_sc_info Struct Reference

#include <segment.h>

Data Fields

struct super_blocksc_super
 
struct nilfs_rootsc_root
 
unsigned long sc_nblk_inc
 
struct list_head sc_dirty_files
 
struct list_head sc_gc_inodes
 
__u64sc_freesegs
 
size_t sc_nfreesegs
 
struct nilfs_inode_infosc_dsync_inode
 
loff_t sc_dsync_start
 
loff_t sc_dsync_end
 
struct list_head sc_segbufs
 
struct list_head sc_write_logs
 
unsigned long sc_segbuf_nblocks
 
struct nilfs_segment_buffersc_curseg
 
struct nilfs_cstage sc_stage
 
struct nilfs_segsum_pointer sc_finfo_ptr
 
struct nilfs_segsum_pointer sc_binfo_ptr
 
unsigned long sc_blk_cnt
 
unsigned long sc_datablk_cnt
 
unsigned long sc_nblk_this_inc
 
time_t sc_seg_ctime
 
__u64 sc_cno
 
unsigned long sc_flags
 
spinlock_t sc_state_lock
 
unsigned long sc_state
 
unsigned long sc_flush_request
 
wait_queue_head_t sc_wait_request
 
wait_queue_head_t sc_wait_daemon
 
wait_queue_head_t sc_wait_task
 
__u32 sc_seq_request
 
__u32 sc_seq_accepted
 
__u32 sc_seq_done
 
int sc_sync
 
unsigned long sc_interval
 
unsigned long sc_mjcp_freq
 
unsigned long sc_lseg_stime
 
unsigned long sc_watermark
 
struct timer_list sc_timer
 
struct task_structsc_task
 

Detailed Description

struct nilfs_sc_info - Segment constructor information : Back pointer to super_block struct : root object of the current filesystem tree : Block count of current generation : List of files to be written : List of GC inodes having blocks to be written : array of segment numbers to be freed : number of segments on : inode whose data pages are written for a sync operation : start byte offset of data pages : end byte offset of data pages (inclusive) : List of segment buffers : List of segment buffers to hold logs under writing : Number of available blocks in segment buffers. : Current segment buffer : Collection stage : pointer to the current finfo struct in the segment summary : pointer to the current binfo struct in the segment summary : Block count of a file : Data block count of a file : Number of blocks included in the current logical segment : Creation time : checkpoint number of current log : Internal flags : spinlock for sc_state and so on : Segctord state flags : inode bitmap of metadata files to be flushed : Client request queue : Daemon wait queue : Start/end wait queue to control segctord task : Request counter : Accepted request count : Completion counter : Request of explicit sync operation : Timeout value of background construction : Frequency of creating checkpoints : Start time of the latest logical segment : Watermark for the number of dirty buffers : Timer for segctord : current thread of segctord

Definition at line 130 of file segment.h.

Field Documentation

Definition at line 155 of file segment.h.

unsigned long sc_blk_cnt

Definition at line 156 of file segment.h.

__u64 sc_cno

Definition at line 160 of file segment.h.

Definition at line 150 of file segment.h.

unsigned long sc_datablk_cnt

Definition at line 157 of file segment.h.

struct list_head sc_dirty_files

Definition at line 136 of file segment.h.

loff_t sc_dsync_end

Definition at line 144 of file segment.h.

struct nilfs_inode_info* sc_dsync_inode

Definition at line 142 of file segment.h.

loff_t sc_dsync_start

Definition at line 143 of file segment.h.

Definition at line 154 of file segment.h.

unsigned long sc_flags

Definition at line 161 of file segment.h.

unsigned long sc_flush_request

Definition at line 165 of file segment.h.

__u64* sc_freesegs

Definition at line 139 of file segment.h.

struct list_head sc_gc_inodes

Definition at line 137 of file segment.h.

unsigned long sc_interval

Definition at line 176 of file segment.h.

unsigned long sc_lseg_stime

Definition at line 178 of file segment.h.

unsigned long sc_mjcp_freq

Definition at line 177 of file segment.h.

unsigned long sc_nblk_inc

Definition at line 134 of file segment.h.

unsigned long sc_nblk_this_inc

Definition at line 158 of file segment.h.

size_t sc_nfreesegs

Definition at line 140 of file segment.h.

struct nilfs_root* sc_root

Definition at line 132 of file segment.h.

time_t sc_seg_ctime

Definition at line 159 of file segment.h.

unsigned long sc_segbuf_nblocks

Definition at line 149 of file segment.h.

struct list_head sc_segbufs

Definition at line 147 of file segment.h.

__u32 sc_seq_accepted

Definition at line 172 of file segment.h.

__u32 sc_seq_done

Definition at line 173 of file segment.h.

__u32 sc_seq_request

Definition at line 171 of file segment.h.

struct nilfs_cstage sc_stage

Definition at line 152 of file segment.h.

unsigned long sc_state

Definition at line 164 of file segment.h.

spinlock_t sc_state_lock

Definition at line 163 of file segment.h.

struct super_block* sc_super

Definition at line 131 of file segment.h.

int sc_sync

Definition at line 175 of file segment.h.

struct task_struct* sc_task

Definition at line 182 of file segment.h.

struct timer_list sc_timer

Definition at line 181 of file segment.h.

wait_queue_head_t sc_wait_daemon

Definition at line 168 of file segment.h.

wait_queue_head_t sc_wait_request

Definition at line 167 of file segment.h.

wait_queue_head_t sc_wait_task

Definition at line 169 of file segment.h.

unsigned long sc_watermark

Definition at line 179 of file segment.h.

struct list_head sc_write_logs

Definition at line 148 of file segment.h.


The documentation for this struct was generated from the following file: