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

#include <the_nilfs.h>

Data Fields

unsigned long ns_flags
 
struct block_devicens_bdev
 
struct rw_semaphore ns_sem
 
struct mutex ns_snapshot_mount_mutex
 
struct buffer_head * ns_sbh [2]
 
struct nilfs_super_blockns_sbp [2]
 
time_t ns_sbwtime
 
unsigned ns_sbwcount
 
unsigned ns_sbsize
 
unsigned ns_mount_state
 
u64 ns_seg_seq
 
__u64 ns_segnum
 
__u64 ns_nextnum
 
unsigned long ns_pseg_offset
 
__u64 ns_cno
 
time_t ns_ctime
 
time_t ns_nongc_ctime
 
atomic_t ns_ndirtyblks
 
spinlock_t ns_last_segment_lock
 
sector_t ns_last_pseg
 
u64 ns_last_seq
 
__u64 ns_last_cno
 
u64 ns_prot_seq
 
u64 ns_prev_seq
 
struct nilfs_sc_infons_writer
 
struct rw_semaphore ns_segctor_sem
 
struct inodens_dat
 
struct inodens_cpfile
 
struct inodens_sufile
 
struct rb_root ns_cptree
 
spinlock_t ns_cptree_lock
 
struct list_head ns_dirty_files
 
spinlock_t ns_inode_lock
 
struct list_head ns_gc_inodes
 
u32 ns_next_generation
 
spinlock_t ns_next_gen_lock
 
unsigned long ns_mount_opt
 
uid_t ns_resuid
 
gid_t ns_resgid
 
unsigned long ns_interval
 
unsigned long ns_watermark
 
unsigned int ns_blocksize_bits
 
unsigned int ns_blocksize
 
unsigned long ns_nsegments
 
unsigned long ns_blocks_per_segment
 
unsigned long ns_r_segments_percentage
 
unsigned long ns_nrsvsegs
 
unsigned long ns_first_data_block
 
int ns_inode_size
 
int ns_first_ino
 
u32 ns_crc_seed
 

Detailed Description

struct the_nilfs - struct to supervise multiple nilfs mount points : flags : block device : semaphore for shared states : mutex to protect snapshot mounts : buffer heads of on-disk super blocks : pointers to super block data : previous write time of super block : write count of super block : size of valid data in super block : file system state : segment sequence counter : index number of the latest full segment. : index number of the full segment index to be used next : offset of next partial segment in the current full segment : next checkpoint number : write time of the last segment : write time of the last segment not for cleaner operation : Number of dirty data blocks : lock protecting fields for the latest segment : start block number of the latest segment : sequence value of the latest segment : checkpoint number of the latest segment : least sequence number of segments which must not be reclaimed : base sequence number used to decide if advance log cursor : log writer : semaphore protecting log write : DAT file inode : checkpoint file inode : segusage file inode : rb-tree of all mounted checkpoints (nilfs_root) : lock protecting : list of dirty files : lock protecting : dummy inodes to keep live blocks : next generation number for inodes : lock protecting : mount options : uid for reserved blocks : gid for reserved blocks : checkpoint creation interval : watermark for the number of dirty buffers : bit length of block size : block size : number of segments in filesystem : number of blocks per segment : reserved segments percentage : number of reserved segments : block number of first data block : size of on-disk inode : first not-special inode number : seed value of CRC32 calculation

Definition at line 99 of file the_nilfs.h.

Field Documentation

struct block_device* ns_bdev

Definition at line 102 of file the_nilfs.h.

unsigned long ns_blocks_per_segment

Definition at line 184 of file the_nilfs.h.

unsigned int ns_blocksize

Definition at line 182 of file the_nilfs.h.

unsigned int ns_blocksize_bits

Definition at line 181 of file the_nilfs.h.

__u64 ns_cno

Definition at line 129 of file the_nilfs.h.

struct inode* ns_cpfile

Definition at line 154 of file the_nilfs.h.

struct rb_root ns_cptree

Definition at line 158 of file the_nilfs.h.

spinlock_t ns_cptree_lock

Definition at line 159 of file the_nilfs.h.

u32 ns_crc_seed

Definition at line 190 of file the_nilfs.h.

time_t ns_ctime

Definition at line 130 of file the_nilfs.h.

struct inode* ns_dat

Definition at line 153 of file the_nilfs.h.

struct list_head ns_dirty_files

Definition at line 162 of file the_nilfs.h.

unsigned long ns_first_data_block

Definition at line 187 of file the_nilfs.h.

int ns_first_ino

Definition at line 189 of file the_nilfs.h.

unsigned long ns_flags

Definition at line 100 of file the_nilfs.h.

struct list_head ns_gc_inodes

Definition at line 166 of file the_nilfs.h.

spinlock_t ns_inode_lock

Definition at line 163 of file the_nilfs.h.

int ns_inode_size

Definition at line 188 of file the_nilfs.h.

unsigned long ns_interval

Definition at line 177 of file the_nilfs.h.

__u64 ns_last_cno

Definition at line 142 of file the_nilfs.h.

sector_t ns_last_pseg

Definition at line 140 of file the_nilfs.h.

spinlock_t ns_last_segment_lock

Definition at line 139 of file the_nilfs.h.

u64 ns_last_seq

Definition at line 141 of file the_nilfs.h.

unsigned long ns_mount_opt

Definition at line 173 of file the_nilfs.h.

unsigned ns_mount_state

Definition at line 116 of file the_nilfs.h.

atomic_t ns_ndirtyblks

Definition at line 132 of file the_nilfs.h.

spinlock_t ns_next_gen_lock

Definition at line 170 of file the_nilfs.h.

u32 ns_next_generation

Definition at line 169 of file the_nilfs.h.

__u64 ns_nextnum

Definition at line 127 of file the_nilfs.h.

time_t ns_nongc_ctime

Definition at line 131 of file the_nilfs.h.

unsigned long ns_nrsvsegs

Definition at line 186 of file the_nilfs.h.

unsigned long ns_nsegments

Definition at line 183 of file the_nilfs.h.

u64 ns_prev_seq

Definition at line 144 of file the_nilfs.h.

u64 ns_prot_seq

Definition at line 143 of file the_nilfs.h.

unsigned long ns_pseg_offset

Definition at line 128 of file the_nilfs.h.

unsigned long ns_r_segments_percentage

Definition at line 185 of file the_nilfs.h.

gid_t ns_resgid

Definition at line 176 of file the_nilfs.h.

uid_t ns_resuid

Definition at line 175 of file the_nilfs.h.

struct buffer_head* ns_sbh[2]

Definition at line 111 of file the_nilfs.h.

Definition at line 112 of file the_nilfs.h.

unsigned ns_sbsize

Definition at line 115 of file the_nilfs.h.

unsigned ns_sbwcount

Definition at line 114 of file the_nilfs.h.

time_t ns_sbwtime

Definition at line 113 of file the_nilfs.h.

u64 ns_seg_seq

Definition at line 125 of file the_nilfs.h.

struct rw_semaphore ns_segctor_sem

Definition at line 147 of file the_nilfs.h.

__u64 ns_segnum

Definition at line 126 of file the_nilfs.h.

Definition at line 103 of file the_nilfs.h.

struct mutex ns_snapshot_mount_mutex

Definition at line 104 of file the_nilfs.h.

struct inode* ns_sufile

Definition at line 155 of file the_nilfs.h.

unsigned long ns_watermark

Definition at line 178 of file the_nilfs.h.

struct nilfs_sc_info* ns_writer

Definition at line 146 of file the_nilfs.h.


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