From: Akira Fujita Date: Wed, 17 Jun 2009 23:24:03 +0000 (-0400) Subject: ext4: online defrag -- Add EXT4_IOC_MOVE_EXT ioctl X-Git-Tag: v2.6.31-rc1~138^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=748de6736c1e482e111f9d1b5a5d5b1787600cad;p=pandora-kernel.git ext4: online defrag -- Add EXT4_IOC_MOVE_EXT ioctl The EXT4_IOC_MOVE_EXT exchanges the blocks between orig_fd and donor_fd, and then write the file data of orig_fd to donor_fd. ext4_mext_move_extent() is the main fucntion of ext4 online defrag, and this patch includes all functions related to ext4 online defrag. Signed-off-by: Akira Fujita Signed-off-by: Takashi Sato Signed-off-by: Kazuya Mio Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed