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 - To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html