xfs: move xfs_iext_insert tracepoint to report useful information
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 11 Dec 2017 02:03:54 +0000 (18:03 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 14 Dec 2017 17:20:11 +0000 (09:20 -0800)
commitc54854a437a447a6bb1dcb11f60dd01cef3fa597
tree8ba0c9eb7da8a576b98db3ae4717dbf65a5e884d
parent8c57b88637d78a723e0854fc3d06c6d4c31a1e0c
xfs: move xfs_iext_insert tracepoint to report useful information

Move the tracepoint in xfs_iext_insert to after the point where we've
inserted the extent because otherwise we report stale extent data in
the ftrace output.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_iext_tree.c