diff options
author | Chao Yu <chao@kernel.org> | 2023-01-09 04:44:49 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2023-01-30 23:46:20 +0100 |
commit | 2f3a9ae990a7881c9a57a073bb52ebe34fdc3160 (patch) | |
tree | 54ee004f3e20f43388af41a9dab2fa6b9de47aa9 /fs/f2fs | |
parent | f2fs: introduce discard_io_aware_gran sysfs node (diff) | |
download | linux-2f3a9ae990a7881c9a57a073bb52ebe34fdc3160.tar.xz linux-2f3a9ae990a7881c9a57a073bb52ebe34fdc3160.zip |
f2fs: introduce trace_f2fs_replace_atomic_write_block
Commit 3db1de0e582c ("f2fs: change the current atomic write way")
removed old tracepoints, but it missed to add new one, this patch
fixes to introduce trace_f2fs_replace_atomic_write_block to trace
atomic_write commit flow.
Fixes: 3db1de0e582c ("f2fs: change the current atomic write way")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/segment.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index bd1cd98fa6eb..ebfa759527ac 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -255,6 +255,9 @@ retry: } f2fs_put_dnode(&dn); + + trace_f2fs_replace_atomic_write_block(inode, F2FS_I(inode)->cow_inode, + index, *old_addr, new_addr, recover); return 0; } |