diff options
author | Ritesh Harjani <riteshh@linux.ibm.com> | 2022-03-12 11:09:51 +0530 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-03-15 17:45:36 -0400 |
commit | 08f4c42abad1b93914a93f9042e2443593bd3137 (patch) | |
tree | 0d3d47269321b7947c4c30c425e34aaeea55193b /fs/ext4 | |
parent | 78be0471da4e9fff874307d73d68f0173fa6a154 (diff) | |
download | linux-08f4c42abad1b93914a93f9042e2443593bd3137.tar.bz2 |
ext4: add new trace event in ext4_fc_cleanup
This adds a new trace event in ext4_fc_cleanup() which is helpful in debugging
some fast_commit issues.
Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/794cdb1d5d3622f3f80d30c222ff6652ea68c375.1647057583.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/fast_commit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/fast_commit.c b/fs/ext4/fast_commit.c index 6990429daa0e..f4a56298fd88 100644 --- a/fs/ext4/fast_commit.c +++ b/fs/ext4/fast_commit.c @@ -1280,6 +1280,7 @@ static void ext4_fc_cleanup(journal_t *journal, int full, tid_t tid) if (full && sbi->s_fc_bh) sbi->s_fc_bh = NULL; + trace_ext4_fc_cleanup(journal, full, tid); jbd2_fc_release_bufs(journal); spin_lock(&sbi->s_fc_lock); |