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>
Showing
- fs/xfs/Makefile 1 addition, 0 deletionsfs/xfs/Makefile
- fs/xfs/libxfs/xfs_fs.h 13 additions, 0 deletionsfs/xfs/libxfs/xfs_fs.h
- fs/xfs/libxfs/xfs_rmap.c 28 additions, 0 deletionsfs/xfs/libxfs/xfs_rmap.c
- fs/xfs/libxfs/xfs_rmap.h 2 additions, 0 deletionsfs/xfs/libxfs/xfs_rmap.h
- fs/xfs/xfs_fsmap.c 756 additions, 0 deletionsfs/xfs/xfs_fsmap.c
- fs/xfs/xfs_fsmap.h 53 additions, 0 deletionsfs/xfs/xfs_fsmap.h
- fs/xfs/xfs_ioctl.c 84 additions, 0 deletionsfs/xfs/xfs_ioctl.c
- fs/xfs/xfs_ioctl32.c 2 additions, 0 deletionsfs/xfs/xfs_ioctl32.c
- fs/xfs/xfs_trace.c 1 addition, 0 deletionsfs/xfs/xfs_trace.c
- fs/xfs/xfs_trace.h 84 additions, 0 deletionsfs/xfs/xfs_trace.h
- fs/xfs/xfs_trans.c 22 additions, 0 deletionsfs/xfs/xfs_trans.c
- fs/xfs/xfs_trans.h 2 additions, 0 deletionsfs/xfs/xfs_trans.h
Loading
Please register or sign in to comment