Re: Testing ext4 persistent preallocation patches for 64 bit features
From: Amit K. Arora <hidden>
Date: 2007-02-08 10:51:14
Also in:
linux-fsdevel
From: Amit K. Arora <hidden>
Date: 2007-02-08 10:51:14
Also in:
linux-fsdevel
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:quoted
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