Re: [PATCH 36/49] ext4: Add EXT4_IOC_MIGRATE ioctl

2008-01-26 Thread Aneesh Kumar K.V
On Fri, Jan 25, 2008 at 11:15:00PM -0500, Theodore Tso wrote: > On Thu, Jan 24, 2008 at 11:25:32AM +0530, Aneesh Kumar K.V wrote: > > +static int free_ext_idx(handle_t *handle, struct inode *inode, > > + struct ext4_extent_idx *ix) > > +{ > > + int i, retval = 0;

Re: [PATCH 36/49] ext4: Add EXT4_IOC_MIGRATE ioctl

2008-01-25 Thread Theodore Tso
On Thu, Jan 24, 2008 at 11:25:32AM +0530, Aneesh Kumar K.V wrote: > +static int free_ext_idx(handle_t *handle, struct inode *inode, > + struct ext4_extent_idx *ix) > +{ > + int i, retval = 0; > + ext4_fsblk_t block; > + struct buffer_head *bh; > +

Re: [PATCH 36/49] ext4: Add EXT4_IOC_MIGRATE ioctl

2008-01-23 Thread Aneesh Kumar K.V
xt4_lblk_t first_block, last_block; > + ext4_fsblk_t first_pblock, last_pblock; > +}; > Updated patch commit c4786b67cdc5b24d2548a69b62774fb54f8f1575 Author: Aneesh Kumar K.V <[EMAIL PROTECTED]> Date: Tue Jan 22 09:28:55 2008 +0530 ext4: Add EXT4_IOC_MIGRATE ioc

Re: [PATCH 36/49] ext4: Add EXT4_IOC_MIGRATE ioctl

2008-01-23 Thread Andrew Morton
> On Mon, 21 Jan 2008 22:02:15 -0500 "Theodore Ts'o" <[EMAIL PROTECTED]> wrote: > The below patch add ioctl for migrating ext3 indirect block mapped inode > to ext4 extent mapped inode. This patch adds lots of weird and inexplicable single- and double-newlines in inappropriate places. However it

[PATCH 2/2] Add EXT4_IOC_MIGRATE ioctl

2007-06-28 Thread Aneesh Kumar K.V
From: Aneesh Kumar K.V <[EMAIL PROTECTED]> The below patch add ioctl for migrating ext3 indirect block mapped inode to ext4 extent mapped inode. Signed-off-by: Aneesh Kumar K.V <[EMAIL PROTECTED]> --- fs/ext4/Makefile|2 +- fs/ext4/ioctl.c |3 + fs/ext4/migrate.c |

Re: Add EXT4_IOC_MIGRATE ioctl

2007-06-12 Thread Aneesh Kumar K.V
Andreas Dilger wrote: On Jun 12, 2007 12:17 +0530, Aneesh Kumar K.V wrote: The below patch add ioctl for migrating ext3 indirect block mapped inode to ext4 extent mapped inode. How does this relate to the migrate ioctl used by Takashi in the current ext4 defragmenter patch series? You m

Re: Add EXT4_IOC_MIGRATE ioctl

2007-06-12 Thread Andreas Dilger
On Jun 12, 2007 12:17 +0530, Aneesh Kumar K.V wrote: > The below patch add ioctl for migrating ext3 indirect block mapped inode > to ext4 extent mapped inode. How does this relate to the migrate ioctl used by Takashi in the current ext4 defragmenter patch series? Ideally, the code shouldn't real

Add EXT4_IOC_MIGRATE ioctl

2007-06-11 Thread Aneesh Kumar K.V
The below patch add ioctl for migrating ext3 indirect block mapped inode to ext4 extent mapped inode. The patch is work in progress and have the below FIXME!! 1)Make sure the locking is correct with respect to a) Already open references attempting a read on the file b) mmap