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-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 |

Add EXT4_IOC_MIGRATE ioctl

2007-06-12 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

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

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