diff options
author | Christoph Hellwig <hch@lst.de> | 2021-01-23 21:06:30 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-02-01 20:47:19 +0300 |
commit | 896f72d067a5e9a90d2178b311bb89a18c7b5cfb (patch) | |
tree | 243a0c7272cc96298b3e8f7286f81c83588a0dab /fs/xfs/xfs_file.c | |
parent | 3e40b13c3b57108a118de639d4af04805ac6873f (diff) | |
download | linux-896f72d067a5e9a90d2178b311bb89a18c7b5cfb.tar.xz |
xfs: improve the reflink_bounce_dio_write tracepoint
Use a more suitable event class.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_file.c')
-rw-r--r-- | fs/xfs/xfs_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 27b81925f92a..94bc2ea83734 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -559,7 +559,7 @@ xfs_file_dio_write( * files yet, as we can't unshare a partial block. */ if (xfs_is_cow_inode(ip)) { - trace_xfs_reflink_bounce_dio_write(ip, iocb->ki_pos, count); + trace_xfs_reflink_bounce_dio_write(iocb, from); return -ENOTBLK; } iolock = XFS_IOLOCK_EXCL; |