Displaying 3 results from an estimated 3 matches for "_trans".
Did you mean:
trans
2023 Apr 21
1
[PATCH] ocfs2: fix missing reset j_num_trans for sync
...65 _dmerror_unmount
```
After line 49 50 umount & mount ocfs2 dev, this case run md5sum to
verify target file. line 57 run 'sync' before line 58 changes the dm
target from dm-linear to dm-error. this case is hanging at line 65.
In 266, md5sum calls jbd2 trans pair: ocfs2_[start|commit]_trans to
do journal job. but there is only ->j_num_trans+1 in ocfs2_start_trans,
the ocfs2_commit_trans doesn't do reduction operation.
call flow:
```
[md5sum]
vfs_read
ocfs2_file_read_iter
ocfs2_inode_lock_atime
ocfs2_update_inode_atime
+ ocfs2_start_trans //atomic_inc j_num_trans...
2023 Apr 22
1
[PATCH] ocfs2: fix missing reset j_num_trans for sync
...> After line 49 50 umount & mount ocfs2 dev, this case run md5sum to
> verify target file. line 57 run 'sync' before line 58 changes the dm
> target from dm-linear to dm-error. this case is hanging at line 65.
>
> In 266, md5sum calls jbd2 trans pair: ocfs2_[start|commit]_trans to
> do journal job. but there is only ->j_num_trans+1 in ocfs2_start_trans,
> the ocfs2_commit_trans doesn't do reduction operation.
>
> call flow:
> ```
> [md5sum]
> vfs_read
> ocfs2_file_read_iter
> ocfs2_inode_lock_atime
> ocfs2_update_inode_a...
2023 Apr 30
2
[PATCH 1/2] ocfs2: fix missing reset j_num_trans for sync
...t;
65 _dmerror_unmount
```
After line 49 50 umount & mount ocfs2 dev, this case run md5sum to
verify target file. Line 57 run 'sync' before line 58 changes the dm
target from dm-linear to dm-error. This case is hanging at line 65.
The md5sum calls jbd2 trans pair: ocfs2_[start|commit]_trans to
do journal job. But there is only ->j_num_trans+1 in ocfs2_start_trans,
the ocfs2_commit_trans doesn't do reduction operation, 'sync' neither.
finally no function reset ->j_num_trans until umount is triggered.
call flow:
```
[md5sum] //line 53 54
vfs_read
ocfs2_file_read_it...