STRUCT JOURNAL_S(9) | The Linux Journalling API | STRUCT JOURNAL_S(9) |
NAME¶
struct_journal_s - The journal_s type is the concrete type associated with journal_t.
SYNOPSIS¶
struct journal_s {
unsigned long j_flags;
int j_errno;
struct buffer_head * j_sb_buffer;
journal_superblock_t * j_superblock;
int j_format_version;
rwlock_t j_state_lock;
int j_barrier_count;
struct mutex j_barrier;
transaction_t * j_running_transaction;
transaction_t * j_committing_transaction;
transaction_t * j_checkpoint_transactions;
wait_queue_head_t j_wait_transaction_locked;
wait_queue_head_t j_wait_done_commit;
wait_queue_head_t j_wait_commit;
wait_queue_head_t j_wait_updates;
wait_queue_head_t j_wait_reserved;
struct mutex j_checkpoint_mutex;
unsigned long j_head;
unsigned long j_tail;
unsigned long j_free;
unsigned long j_first;
unsigned long j_last;
struct block_device * j_dev;
int j_blocksize;
unsigned long long j_blk_offset;
struct block_device * j_fs_dev;
unsigned int j_maxlen;
atomic_t j_reserved_credits;
spinlock_t j_list_lock;
struct inode * j_inode;
tid_t j_tail_sequence;
tid_t j_transaction_sequence;
tid_t j_commit_sequence;
tid_t j_commit_request;
__u8 j_uuid;
struct task_struct * j_task;
int j_max_transaction_buffers;
unsigned long j_commit_interval;
struct timer_list j_commit_timer;
spinlock_t j_revoke_lock;
struct jbd2_revoke_table_s * j_revoke;
struct jbd2_revoke_table_s * j_revoke_table;
struct buffer_head ** j_wbuf;
int j_wbufsize;
pid_t j_last_sync_writer;
spinlock_t j_history_lock;
struct proc_dir_entry * j_proc_entry;
struct transaction_stats_s j_stats;
void * j_private; #ifdef CONFIG_DEBUG_LOCK_ALLOC
struct lockdep_map j_trans_commit_map; #endif };
MEMBERS¶
unsigned long j_flags
int j_errno
struct buffer_head * j_sb_buffer
journal_superblock_t * j_superblock
int j_format_version
rwlock_t j_state_lock
int j_barrier_count
struct mutex j_barrier
transaction_t * j_running_transaction
transaction_t * j_committing_transaction
transaction_t * j_checkpoint_transactions
wait_queue_head_t j_wait_transaction_locked
wait_queue_head_t j_wait_done_commit
wait_queue_head_t j_wait_commit
wait_queue_head_t j_wait_updates
wait_queue_head_t j_wait_reserved
struct mutex j_checkpoint_mutex
unsigned long j_head
unsigned long j_tail
unsigned long j_free
unsigned long j_first
unsigned long j_last
struct block_device * j_dev
int j_blocksize
unsigned long long j_blk_offset
struct block_device * j_fs_dev
unsigned int j_maxlen
atomic_t j_reserved_credits
spinlock_t j_list_lock
struct inode * j_inode
tid_t j_tail_sequence
tid_t j_transaction_sequence
tid_t j_commit_sequence
tid_t j_commit_request
__u8 j_uuid
struct task_struct * j_task
int j_max_transaction_buffers
unsigned long j_commit_interval
struct timer_list j_commit_timer
spinlock_t j_revoke_lock
struct jbd2_revoke_table_s * j_revoke
struct jbd2_revoke_table_s * j_revoke_table
struct buffer_head ** j_wbuf
int j_wbufsize
pid_t j_last_sync_writer
spinlock_t j_history_lock
struct proc_dir_entry * j_proc_entry
struct transaction_stats_s j_stats
void * j_private
struct lockdep_map j_trans_commit_map
AUTHORS¶
Roger Gammans <rgammans@computer-surgery.co.uk>
Stephen Tweedie <sct@redhat.com>
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |