summaryrefslogtreecommitdiff
path: root/fs/f2fs/extent_cache.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-09-06 12:50:13 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2015-10-10 02:20:49 +0300
commit744288c7216bf5876f271c32516dfb66dedb0448 (patch)
tree484733cdd9f3940d20489e899b98850a296a79da /fs/f2fs/extent_cache.c
parentc6fa8e6de3dc420cba092bf155b2ed25bcd537f7 (diff)
downloadlinux-744288c7216bf5876f271c32516dfb66dedb0448.tar.xz
f2fs: trace in batches extent info update
Rename trace_f2fs_update_extent_tree to trace_f2fs_update_extent_tree_range, then expand and enable it to trace in batches extent info updates. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/extent_cache.c')
-rw-r--r--fs/f2fs/extent_cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/extent_cache.c b/fs/f2fs/extent_cache.c
index 997ac86f2a1d..1cd6c6c57f78 100644
--- a/fs/f2fs/extent_cache.c
+++ b/fs/f2fs/extent_cache.c
@@ -409,6 +409,8 @@ unsigned int f2fs_update_extent_tree_range(struct inode *inode,
if (!et)
return false;
+ trace_f2fs_update_extent_tree_range(inode, fofs, blkaddr, len);
+
write_lock(&et->lock);
if (is_inode_flag_set(F2FS_I(inode), FI_NO_EXTENT)) {