summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2023-06-19 11:15:31 +0900
committerDavid Sterba <dsterba@suse.com>2023-06-19 19:47:58 +0200
commit6442550027f77a76efa7873b946c34c4a733febd (patch)
tree29c6ba3b053e007f1e60f180f0d1bad23690d7f6 /fs
parentc9e561c4753c8c561452393762b957241e74e820 (diff)
downloadlinux-6442550027f77a76efa7873b946c34c4a733febd.tar.gz
linux-6442550027f77a76efa7873b946c34c4a733febd.tar.bz2
linux-6442550027f77a76efa7873b946c34c4a733febd.zip
btrfs: tracepoints: also show actual number of the outstanding extents
The btrfs_inode_mod_outstanding_extents trace event only shows the modified number to the number of outstanding extents. It would be helpful if we can see the resulting extent number as well. Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/btrfs_inode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index 8abf96cfea8f..d47a927b3504 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -332,7 +332,7 @@ static inline void btrfs_mod_outstanding_extents(struct btrfs_inode *inode,
if (btrfs_is_free_space_inode(inode))
return;
trace_btrfs_inode_mod_outstanding_extents(inode->root, btrfs_ino(inode),
- mod);
+ mod, inode->outstanding_extents);
}
/*