diff options
| author | Li Chen <me@linux.beauty> | 2026-05-15 17:18:26 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-06-03 10:26:36 -0400 |
| commit | d2f6e83bbbef31169ea363af4277f5c09c914eda (patch) | |
| tree | cc483cae45c68841331cfc602e0806aa0337c12a /drivers/phy/eswin/git@git.tavy.me:linux.git | |
| parent | 22d887e06a57261df58404c8dce50c4ef37549ed (diff) | |
ext4: fast commit: add lock_updates tracepoint
Commit-time fast commit snapshots run under jbd2_journal_lock_updates(),
so it is useful to quantify the time spent with updates locked and to
understand why snapshotting can fail.
Add a new tracepoint, ext4_fc_lock_updates, reporting the time spent in
the updates-locked window along with the number of snapshotted inodes
and ranges. Record the first snapshot failure reason in a stable snap_err
field for tooling.
Signed-off-by: Li Chen <chenl311@chinatelecom.cn>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://patch.msgid.link/20260515091829.194810-7-me@linux.beauty
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
