diff options
author | Seiji Aguchi <seiji.aguchi@hds.com> | 2012-02-20 17:53:01 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-02-20 17:53:01 -0500 |
commit | 2201c590dd6e802795e21e69e3c152c519f1568e (patch) | |
tree | a617a8578dd181bbcb83c0e3c6198a3dc836eef8 /fs/jbd2/checkpoint.c | |
parent | 3d2b158262826e8b75bbbfb7b97010838dd92ac7 (diff) | |
download | kernel_i9300_mainline-2201c590dd6e802795e21e69e3c152c519f1568e.zip kernel_i9300_mainline-2201c590dd6e802795e21e69e3c152c519f1568e.tar.gz kernel_i9300_mainline-2201c590dd6e802795e21e69e3c152c519f1568e.tar.bz2 |
jbd2: add drop_transaction/update_superblock_end tracepoints
This patch adds trace_jbd2_drop_transaction and
trace_jbd2_update_superblock_end because there are similar tracepoints
in jbd and they are needed in jbd2 as well.
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Seiji Aguchi <seiji.aguchi@hds.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/checkpoint.c')
-rw-r--r-- | fs/jbd2/checkpoint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/jbd2/checkpoint.c b/fs/jbd2/checkpoint.c index d49d202..453c906 100644 --- a/fs/jbd2/checkpoint.c +++ b/fs/jbd2/checkpoint.c @@ -797,5 +797,7 @@ void __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transact J_ASSERT(journal->j_committing_transaction != transaction); J_ASSERT(journal->j_running_transaction != transaction); + trace_jbd2_drop_transaction(journal, transaction); + jbd_debug(1, "Dropping transaction %d, all done\n", transaction->t_tid); } |