[Ocfs2-devel] [xfs-masters] [PATCH][RFC] fs: Add new pre-allocation ioctls to vfs for compatibility with legacy xfs ioctls
Mark Fasheh
mfasheh at suse.com
Wed Dec 17 13:16:00 PST 2008
On Wed, Dec 17, 2008 at 03:06:14PM -0600, Eric Sandeen wrote:
> >> There are some things that I'm not sure about:
> >> 1. Should the struct space_resv be exposed to user-space? If not,
> >> then what would be the right place to put it? And the ioctl
> >> definitions?
> >
> > Yes. As far as where to put it, I'm not sure. Maybe falloc.h?
>
> I'd sort of rather not; why should that legacy struct space_resv be
> available in a header... I thought this was for people already using the
> xfs ioctl, in which case they are already using the xfs header... and if
> they want preallocation in any new work, they should use fallocate()
> instead, yes?
Actually, yeah agreed - I take that back. Old users are already getting them
from file system headers, new ones should use fallocate. So there's no need
to expose the ioctls to userspace, at least not if all we're talking about
is the RESVP ioctls.
--Mark
--
Mark Fasheh
More information about the Ocfs2-devel
mailing list