aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trace.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2017-03-28 14:56:37 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2017-04-03 15:18:17 -0700
commite89c041338ed6ef2694e6465ca1ba033e0a2978c (patch)
tree7866a101041335d77127b2258e5759b61d1d1e60 /fs/xfs/xfs_trace.c
parentxfs: add a couple of queries to iterate free extents in the rtbitmap (diff)
downloadlinux-dev-e89c041338ed6ef2694e6465ca1ba033e0a2978c.tar.xz
linux-dev-e89c041338ed6ef2694e6465ca1ba033e0a2978c.zip
xfs: implement the GETFSMAP ioctl
Introduce a new ioctl that uses the reverse mapping btree to return information about the physical layout of the filesystem. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_trace.c')
-rw-r--r--fs/xfs/xfs_trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_trace.c b/fs/xfs/xfs_trace.c
index 7f17ae6d709a..5d95fe348294 100644
--- a/fs/xfs/xfs_trace.c
+++ b/fs/xfs/xfs_trace.c
@@ -47,6 +47,7 @@
#include "xfs_inode_item.h"
#include "xfs_bmap_btree.h"
#include "xfs_filestream.h"
+#include "xfs_fsmap.h"
/*
* We include this last to have the helpers above available for the trace