[Ocfs2-devel] Re: [-mm PATCH] ocfs2: ->fallocate() support

Mark Fasheh mark.fasheh at oracle.com
Mon Jul 2 16:18:12 PDT 2007


On Sat, Jun 30, 2007 at 10:34:13AM +0100, Christoph Hellwig wrote:
> Btw, it seems like ocfs implements the xfs preallocation ioctls.  What
> would people thing about moving those up to work over ->fallocate so they
> can be used on all filesystems that support preallocation?

That sounds like a good idea. We've already got a very good match on
RESVP/UNRESVP with the various ->fallocate flags.

I'm not sure whether we want to do this for ALLOCSP/FREESP - as far as I've
heard those are hardly used.


> While the ABI is quite ugly it has a huge userbase because it's the only
> existing preallocation mechanism on Linux.

Yeah, that was the primary reason I chose to implement the ioctl (along with
the ->fallocate patch)
	--Mark

--
Mark Fasheh
Senior Software Developer, Oracle
mark.fasheh at oracle.com



More information about the Ocfs2-devel mailing list