On Wed, Feb 07, 2007 at 12:25:50AM -0800, Mingming Cao wrote: > On Wed, 2007-02-07 at 13:18 +0530, Amit K. Arora wrote: > > c) Do I need to put some hack in the filesystem code for above (to > > allocate >32 bit physical block numbers) ? > I had a ext3 hack patch before to allow application specify which block > group is the targeted block allocation group,using ioctl command, so to > allocate >32 bit physical block numbers it just set the target block > group beyond 2**(32-15) = 2**17. patch is below.. Thanks for the patch! > BTW, have you considered > - move the preallocation code in ioctl to a seperate function, and call > that function from ioctl? That way we could easily switch to > posix_falloc later. OK. > - Test preallocation with mapped IO? I haven't done that yet. Will test it out too. Thanks! -- Regards, Amit Arora - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html