ioctl_xfs_rtgroup_geometry
query XFS realtime group geometry information
- Provided by: xfslibs-dev (Version: 6.13.0-2ubuntu2)
- Source: xfsprogs
- Report a bug
query XFS realtime group geometry information
#include <xfs/xfs_fs.h>
int ioctl(int fd, XFS_IOC_RTGROUP_GEOMETRY, struct xfs_rtgroup_geometry *arg);
This XFS ioctl retrieves the geometry information for a given realtime group. The geometry information is conveyed in a structure of the following form:
struct xfs_rtgroup_geometry {
__u32 rg_number;
__u32 rg_length;
__u32 rg_sick;
__u32 rg_checked;
__u32 rg_flags;
__u32 rg_reserved[27];
};
The fields rg_sick and rg_checked indicate the relative health of various realtime group metadata:
The following flags apply to these fields:
On error, -1 is returned, and errno is set to indicate the error.
Error codes can be one of, but are not limited to, the following:
This API is specific to XFS filesystem on the Linux kernel.