diff options
| author | Li Chen <me@linux.beauty> | 2026-03-06 16:56:40 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-04-09 10:51:05 -0400 |
| commit | 660d23669982202c99798658e2a15ccdd001f82b (patch) | |
| tree | 30ecab95d36bcd0d1460b7f29fa28bb67d458a55 /tools/perf/scripts/python | |
| parent | 5267f6ef49cb5fba426f2d286817b1355fde31da (diff) | |
ext4: use jbd2 jinode dirty range accessor
ext4 journal commit callbacks access jbd2_inode dirty range fields without
holding journal->j_list_lock.
Use jbd2_jinode_get_dirty_range() to get the range in bytes, and read
i_transaction with READ_ONCE() in the redirty check.
Suggested-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Li Chen <me@linux.beauty>
Link: https://patch.msgid.link/20260306085643.465275-3-me@linux.beauty
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
