projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1e8220
)
jbd2: add missing tracepoint for reserved handle
author
Xiaoguang Wang
<xiaoguang.wang@linux.alibaba.com>
Sun, 25 Aug 2019 03:10:17 +0000
(23:10 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sun, 25 Aug 2019 03:10:17 +0000
(23:10 -0400)
This issue was found when I use ebpf to trace every jbd2
handle's running info in dioread_nolock case.
Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/transaction.c
patch
|
blob
|
history
diff --git
a/fs/jbd2/transaction.c
b/fs/jbd2/transaction.c
index 990e7b5062e7485f79db417459dcd15e27081a07..afc06daee5bb05dd0264188dfa12b156788f857c 100644
(file)
--- a/
fs/jbd2/transaction.c
+++ b/
fs/jbd2/transaction.c
@@
-569,6
+569,9
@@
int jbd2_journal_start_reserved(handle_t *handle, unsigned int type,
}
handle->h_type = type;
handle->h_line_no = line_no;
+ trace_jbd2_handle_start(journal->j_fs_dev->bd_dev,
+ handle->h_transaction->t_tid, type,
+ line_no, handle->h_buffer_credits);
return 0;
}
EXPORT_SYMBOL(jbd2_journal_start_reserved);