Displaying 2 results from an estimated 2 matches for "j_checkpoint".
Did you mean:
checkpoint
2023 May 04
1
[PATCH 2/2] ocfs2: add error handling path when jbd2 enter ABORT status
...is 'goto reset' which will resolve below three issues:
ocfs2_commit_cache
+ ... ...
reset: //goto label
+ ocfs2_inc_trans_id(journal); //<1.1>
+ atomic_set(&journal->j_num_trans, 0); //<2>
+ ocfs2_wake_downconvert_thread(osb); //<3>
+ wake_up(&journal->j_checkpointed); //<1.2>
1> trigger hanging
umount
... ...
ocfs2_clear_inode
ocfs2_checkpoint_inode(inode)
+ ocfs2_ci_fully_checkpointed() //1.1: check '->j_trans_id'
+ wait_event(osb->journal->j_checkpointed, ...)
+ 1.2: will wait forever, if commit thread exit...
2009 Feb 13
44
[PATCH 0/40] ocfs2: Detach ocfs2 metadata I/O from struct inode
The following series of patches attempts to detach metadata I/O from
struct inode. They are currently tied together pretty tightly.
Metadata reads happen via the ocfs2_read_blocks() functions, writes via
both jbd2 and ocfs2_write_blocks().
- Each inode has a cache of associated metadata blocks stored on its
ip_metadata_cache member. The ocfs2_read/write_blocks() functions
take a struct