On 02/11/21 12:38, Thomas Huth wrote:
struct dioattr { u32 d_mem; /* data buffer memory alignment */ u32 d_miniosz; /* min xfer size */ u32 d_maxiosz; /* max xfer size */ }; #define XFS_IOC_DIOINFO _IOR ('X', 30, struct dioattr)I thought about something like that, too, but I'm not sure whether xfs/xfs.h exists on some non-Linux systems, too and might be implemented differently there?
In theory on IRIX XFS exists, but I'm not sure about xfs/xfs.h and anyway we don't support it.
Paolo
