mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
f2fs: add tracepoint for f2fs_issue_flush
This patch adds a tracepoint for f2fs_issue_flush. Signed-off-by: Jaegeuk Kim <[email protected]>
This commit is contained in:
parent
cf2271e781
commit
24a9ee0fa3
2 changed files with 27 additions and 0 deletions
|
|
@ -239,6 +239,9 @@ int f2fs_issue_flush(struct f2fs_sb_info *sbi)
|
|||
struct flush_cmd_control *fcc = SM_I(sbi)->cmd_control_info;
|
||||
struct flush_cmd cmd;
|
||||
|
||||
trace_f2fs_issue_flush(sbi->sb, test_opt(sbi, NOBARRIER),
|
||||
test_opt(sbi, FLUSH_MERGE));
|
||||
|
||||
if (test_opt(sbi, NOBARRIER))
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue