public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [-mm PATCH] ocfs2: ->fallocate() support
       [not found] <20070621190143.GC17713@ca-server1.us.oracle.com>
@ 2007-06-30  9:34 ` Christoph Hellwig
  2007-07-02 23:18   ` Mark Fasheh
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2007-06-30  9:34 UTC (permalink / raw)
  To: Mark Fasheh; +Cc: Andrew Morton, Amit Arora, linux-fsdevel, ocfs2-devel, xfs

On Thu, Jun 21, 2007 at 12:01:43PM -0700, Mark Fasheh wrote:
> Plug ocfs2 into the ->fallocate() callback. We only support FA_ALLOCATE for
> now - FA_DEALLOCATE will come later.

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?  While the
ABI is quite ugly it has a huge userbase because it's the only existing
preallocation mechanism on Linux.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [-mm PATCH] ocfs2: ->fallocate() support
  2007-06-30  9:34 ` [-mm PATCH] ocfs2: ->fallocate() support Christoph Hellwig
@ 2007-07-02 23:18   ` Mark Fasheh
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Fasheh @ 2007-07-02 23:18 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Andrew Morton, Amit Arora, linux-fsdevel, ocfs2-devel, xfs

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@oracle.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-03  0:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070621190143.GC17713@ca-server1.us.oracle.com>
2007-06-30  9:34 ` [-mm PATCH] ocfs2: ->fallocate() support Christoph Hellwig
2007-07-02 23:18   ` Mark Fasheh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox