aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_aops.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-07-18 03:40:19 +0000
committerAlex Elder <aelder@sgi.com>2011-07-20 18:38:04 -0500
commit55fb25d5b39320242b41af894921f5cef0c7e293 (patch)
tree80611313673fc3adc9e82f355884a6adbc258357 /fs/xfs/linux-2.6/xfs_aops.c
parentaf3e40228fb2dbc18d94fbd5103f07344a720ae7 (diff)
downloadlinux-55fb25d5b39320242b41af894921f5cef0c7e293.tar.gz
xfs: add size update tracepoint to IO completion
For improving insight into IO completion behaviour. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_aops.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_aops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c
index 3447733fa897a1..26384fe3f26d2d 100644
--- a/fs/xfs/linux-2.6/xfs_aops.c
+++ b/fs/xfs/linux-2.6/xfs_aops.c
@@ -181,6 +181,7 @@ xfs_setfilesize(
isize = xfs_ioend_new_eof(ioend);
if (isize) {
+ trace_xfs_setfilesize(ip, ioend->io_offset, ioend->io_size);
ip->i_d.di_size = isize;
xfs_mark_inode_dirty(ip);
}