diff options
author | Christoph Hellwig <hch@lst.de> | 2017-10-19 11:06:29 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-10-26 15:38:27 -0700 |
commit | e8e0e170e2e17b601b86edb86f58dbf7c599e4b3 (patch) | |
tree | 81befa53fd1b28411556c19c4184c61b186db15a /fs/xfs/libxfs/xfs_bmap.h | |
parent | ca5d8e5b7b9030005e38e7c43e08c0cd4eb2a78f (diff) | |
download | linux-stable-e8e0e170e2e17b601b86edb86f58dbf7c599e4b3.tar.gz linux-stable-e8e0e170e2e17b601b86edb86f58dbf7c599e4b3.tar.bz2 linux-stable-e8e0e170e2e17b601b86edb86f58dbf7c599e4b3.zip |
xfs: remove XFS_BMAP_TRACE_EXLIST
Instead of looping over all extents in some debug-only helper just
insert trace points into the loops that already exist in the calling
functions.
Also split the xfs_extlist trace point into one each for reading and
writing extents from disk.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_bmap.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_bmap.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap.h b/fs/xfs/libxfs/xfs_bmap.h index 612d3c778691..50b8977163ec 100644 --- a/fs/xfs/libxfs/xfs_bmap.h +++ b/fs/xfs/libxfs/xfs_bmap.h @@ -197,15 +197,6 @@ enum shift_direction { SHIFT_RIGHT, }; -#ifdef DEBUG -void xfs_bmap_trace_exlist(struct xfs_inode *ip, xfs_extnum_t cnt, - int whichfork, unsigned long caller_ip); -#define XFS_BMAP_TRACE_EXLIST(ip,c,w) \ - xfs_bmap_trace_exlist(ip,c,w, _THIS_IP_) -#else -#define XFS_BMAP_TRACE_EXLIST(ip,c,w) -#endif - void xfs_trim_extent(struct xfs_bmbt_irec *irec, xfs_fileoff_t bno, xfs_filblks_t len); void xfs_trim_extent_eof(struct xfs_bmbt_irec *, struct xfs_inode *); |