Re: Online defragmentation and ext4migrate

2007-05-22 Thread Takashi Sato
Hi, In my opinion, to keep the ioctl simple and small is very important for ease of maintenance. So I would rather not support indirect block files in the ioctl. Instead, I can add the call of the migration ioctl to my defrag tool in order to defragment indirect block files. How do you think

Re: Online defragmentation and ext4migrate

2007-05-22 Thread Jan Kara
On Mon, 2007-05-21 at 12:38 +0200, Jan Kara wrote: Yes. On the other hand I believe that some people would like to use defragmentation but stay with ext3. For them conversion to extents is no-go. [...] I've written a patch that defragments non-extent files but after discussion with

Re: Online defragmentation and ext4migrate

2007-05-21 Thread Aneesh Kumar
On 5/19/07, Eric [EMAIL PROTECTED] wrote: On Fri, 2007-05-18 at 18:36 +0530, Aneesh Kumar K.V wrote: The reason why i am asking this is to understand the usefulness of doing a ext4migrate followed by defrag. [...] Also looking at the version 0.4 I see that defrag ioctl only work if we have

Re: Online defragmentation and ext4migrate

2007-05-21 Thread Takashi Sato
Hi Aneesh san, While doing online defragmentation do we move the blocks corresponding to extent index ? The reason why i am asking this is to understand the usefulness of doing a ext4migrate followed by defrag. I understand that defragmentation in general will improve the performance. But with

Re: Online defragmentation and ext4migrate

2007-05-21 Thread Jan Kara
Hello, While doing online defragmentation do we move the blocks corresponding to extent index ? The reason why i am asking this is to understand the usefulness of doing a ext4migrate followed by defrag. I understand that defragmentation in general will improve the performance. But with

Re: Online defragmentation and ext4migrate

2007-05-21 Thread Aneesh Kumar K.V
Takashi Sato wrote: Hi Aneesh san, In my opinion, to keep the ioctl simple and small is very important for ease of maintenance. So I would rather not support indirect block files in the ioctl. Instead, I can add the call of the migration ioctl to my defrag tool in order to defragment

Re: Online defragmentation and ext4migrate

2007-05-21 Thread Eric
On Mon, 2007-05-21 at 12:38 +0200, Jan Kara wrote: Yes. On the other hand I believe that some people would like to use defragmentation but stay with ext3. For them conversion to extents is no-go. [...] I've written a patch that defragments non-extent files but after discussion with XFS

Re: Online defragmentation and ext4migrate

2007-05-18 Thread Eric
On Fri, 2007-05-18 at 18:36 +0530, Aneesh Kumar K.V wrote: The reason why i am asking this is to understand the usefulness of doing a ext4migrate followed by defrag. [...] Also looking at the version 0.4 I see that defrag ioctl only work if we have EXT4_EXTENTS_FL flag set. ext4migrate is

Re: Online defragmentation and ext4migrate

2007-05-18 Thread Andreas Dilger
On May 18, 2007 13:19 -0700, Eric wrote: A defragmentation routine makes files contiguous on disk. A better defragmentation routine intelligently locates data structures on the disk so that files and directories are placed to minimize latency and maximize throughput now, AND so that this will