diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-03-28 23:56:37 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-04-04 00:18:17 +0200 |
commit | e89c041338ed6ef2694e6465ca1ba033e0a2978c (patch) | |
tree | 7866a101041335d77127b2258e5759b61d1d1e60 /fs/xfs/xfs_trans.h | |
parent | xfs: add a couple of queries to iterate free extents in the rtbitmap (diff) | |
download | linux-e89c041338ed6ef2694e6465ca1ba033e0a2978c.tar.xz linux-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_trans.h')
-rw-r--r-- | fs/xfs/xfs_trans.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h index 1646f659b60f..2a9292df6640 100644 --- a/fs/xfs/xfs_trans.h +++ b/fs/xfs/xfs_trans.h @@ -158,6 +158,8 @@ typedef struct xfs_trans { int xfs_trans_alloc(struct xfs_mount *mp, struct xfs_trans_res *resp, uint blocks, uint rtextents, uint flags, struct xfs_trans **tpp); +int xfs_trans_alloc_empty(struct xfs_mount *mp, + struct xfs_trans **tpp); void xfs_trans_mod_sb(xfs_trans_t *, uint, int64_t); struct xfs_buf *xfs_trans_get_buf_map(struct xfs_trans *tp, |