mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
f2fs: add a tracepoint for f2fs_write_end
This patch adds a tracepoint for f2fs_write_end to trace write op of user. Signed-off-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
This commit is contained in:
parent
62aed044ea
commit
dfb2bf38bf
2 changed files with 32 additions and 0 deletions
|
|
@ -989,6 +989,8 @@ static int f2fs_write_end(struct file *file,
|
|||
{
|
||||
struct inode *inode = page->mapping->host;
|
||||
|
||||
trace_f2fs_write_end(inode, pos, len, copied);
|
||||
|
||||
SetPageUptodate(page);
|
||||
set_page_dirty(page);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue