Scroll to navigation

STRUCT JBD2_INODE(9) The Linux Journalling API STRUCT JBD2_INODE(9)

NAME

struct_jbd2_inode - The jbd_inode type is the structure linking inodes in ordered mode present in a transaction so that we can sync them during commit.

SYNOPSIS

struct jbd2_inode {
  transaction_t * i_transaction;
  transaction_t * i_next_transaction;
  struct list_head i_list;
  struct inode * i_vfs_inode;
  unsigned long i_flags;
};  

MEMBERS

i_transaction
Which transaction does this inode belong to? Either the running transaction or the committing one. [j_list_lock]

i_next_transaction

Pointer to the running transaction modifying inode's data in case there is already a committing transaction touching it. [j_list_lock]

i_list

List of inodes in the i_transaction [j_list_lock]

i_vfs_inode

VFS inode this inode belongs to [constant for lifetime of structure]

i_flags

Flags of inode [j_list_lock]

AUTHORS

Roger Gammans <rgammans@computer-surgery.co.uk>
Author.

Stephen Tweedie <sct@redhat.com>

Author.

COPYRIGHT

April 2019 Kernel Hackers Manual 4.9.