Thread (27 messages) 27 messages, 9 authors, 2007-07-30

Re: [RFC] basic delayed allocation in VFS

From: Theodore Tso <tytso@mit.edu>
Date: 2007-07-30 00:28:41
Also in: linux-fsdevel

On Sun, Jul 29, 2007 at 08:24:37PM +0100, Christoph Hellwig wrote:
I'm a big proponent of having proper common delalloc code, but the
one proposed here is not generic for the existing filesystem using
delalloc.  It's still on my todo list to revamp the xfs code to get
rid of some of the existing mess and make it useable genericly.  If
the ext4 users are fine with the end result we could move to generic
code.
Do you think it would be faster for you to revamp the code or to give
instructions about how you'd like to clean up the code and what has to
be preserved in order to keep XFS happy, so someone else could give it
a try?  Or do you think the code is to grotty and/or tricky for
someone else to attempt this?
Note that moving to VFS is bullshit either way, writeback code is
nowhere near the VFS nor should it.
Agreed.  I would think the something like mm/delayed_alloc.c would be
preferable.  Ideally it would be like the filemap.c code, where it
would be relatively easy for most standard filesystems to hook into it
and get the advantages of delayed allocation.  (Although granted it
will probably require more effort on the part of a filesystem author
than filemap!)

						- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help