OSDN Git Service

ext4: add transaction tid info in fc_track events
authorRitesh Harjani <riteshh@linux.ibm.com>
Sat, 12 Mar 2022 05:39:52 +0000 (11:09 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 15 Mar 2022 21:45:36 +0000 (17:45 -0400)
commit1d2e2440c5191da82b1191298909283a58f0ece8
tree9381a7a3456b9d2b32c2eec107156f9983004ef7
parent08f4c42abad1b93914a93f9042e2443593bd3137
ext4: add transaction tid info in fc_track events

This patch adds the transaction & inode tid info in trace events for
callers of ext4_fc_track_template(). This is helpful in debugging race
conditions where an inode could belong to two different transaction tids.
It also fixes the checkpatch warnings which says use tabs instead of
spaces.

Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/c203c09dc11bb372803c430f621f25a4b8c2c8b4.1647057583.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/fast_commit.c
include/trace/events/ext4.h