summaryrefslogtreecommitdiffstats
path: root/fs/jbd2
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-12-23 07:45:44 -0500
committerTheodore Ts'o <tytso@mit.edu>2009-12-23 07:45:44 -0500
commit71f2be213a0009098819e5c04f75ff19f84f2122 (patch)
treeaf3dcbb307a8cccc24670945c14c4b3d32bbd2c0 /fs/jbd2
parent1f2acb6017d8528135ec3b01ab7cd2be6ea0630b (diff)
downloadop-kernel-dev-71f2be213a0009098819e5c04f75ff19f84f2122.zip
op-kernel-dev-71f2be213a0009098819e5c04f75ff19f84f2122.tar.gz
ext4: Add new tracepoint for jbd2_cleanup_journal_tail
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2')
-rw-r--r--fs/jbd2/checkpoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jbd2/checkpoint.c b/fs/jbd2/checkpoint.c
index 8868493..30beb11 100644
--- a/fs/jbd2/checkpoint.c
+++ b/fs/jbd2/checkpoint.c
@@ -507,6 +507,7 @@ int jbd2_cleanup_journal_tail(journal_t *journal)
if (blocknr < journal->j_tail)
freed = freed + journal->j_last - journal->j_first;
+ trace_jbd2_cleanup_journal_tail(journal, first_tid, blocknr, freed);
jbd_debug(1,
"Cleaning journal tail from %d to %d (offset %lu), "
"freeing %lu\n",
OpenPOWER on IntegriCloud