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.
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;
}; Which transaction does this inode belong to? Either the running transaction or the committing one. [j_list_lock]
Pointer to the running transaction modifying inode's data in case there is already a committing transaction touching it. [j_list_lock]
List of inodes in the i_transaction [j_list_lock]
VFS inode this inode belongs to [constant for lifetime of structure]
Flags of inode [j_list_lock]