On Sun, Jul 23, 2006 at 04:09:18AM -0700, Heilige Gheist wrote:
> I'm trying to get custom extent size per file working, but
> XFS_IOC_FSSETXATTR ioctl returns with EINVAL,
> both from my code or from xfs_io.
> The environment is SLES9 SP2, 2.6.5-7.252 kernel, xfsprogs-2.6.25-0.6
> After examining the kernel code in xfs_vnodeops.c we found out that
> custom extent size is supported on files in real-time section only.
> This is not mentioned anywhere else in the documentation, so I'm
> wondering whether this limitation is removed in further kernel
> versions.
> I've downloaded the recent xfsprogs-2.8.4, it uses a new flag
> XFS_XFLAG_EXTSIZE when setting the custom extent size.
> I'm not sure what kernel version do I need to work with 2.8.4, but it's
> certainly a sign that kernel support has changed.
Indeed it has. I'm not sure which kernel version this was merged into,
but the rough timeframe can be seen on http://oss.sgi.com/projects/xfs/
on the "recent changes" table. It wont be there in any SLES9, but IIRC
SLES10 does now include that code.
cheers.
--
Nathan
|