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>
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user