Commit 55d1cdb2 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: relocate tracepoint of write_checkpoint



It needs to relocate its location to see exact trace logs.
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent e8240f65
...@@ -1130,9 +1130,9 @@ void write_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc) ...@@ -1130,9 +1130,9 @@ void write_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)
/* do checkpoint periodically */ /* do checkpoint periodically */
sbi->cp_expires = round_jiffies_up(jiffies + HZ * sbi->cp_interval); sbi->cp_expires = round_jiffies_up(jiffies + HZ * sbi->cp_interval);
trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "finish checkpoint");
out: out:
mutex_unlock(&sbi->cp_mutex); mutex_unlock(&sbi->cp_mutex);
trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "finish checkpoint");
} }
void init_ino_entry_info(struct f2fs_sb_info *sbi) void init_ino_entry_info(struct f2fs_sb_info *sbi)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment