]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: online defrag -- Add EXT4_IOC_MOVE_EXT ioctl
authorAkira Fujita <a-fujita@rs.jp.nec.com>
Wed, 17 Jun 2009 23:24:03 +0000 (19:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 17 Jun 2009 23:24:03 +0000 (19:24 -0400)
commit5a717eea3eab6bd4063c77af263d6c5be9b0281f
tree9e5bd6085cd0eea0453c2a8bbce1422f291f059f
parente619d57e778e87acb94bff7e594d5320e595bcaa
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 <a-fujita@rs.jp.nec.com>
Signed-off-by: Takashi Sato <t-sato@yk.jp.nec.com>
Signed-off-by: Kazuya Mio <k-mio@sx.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/Makefile
fs/ext4/ext4.h
fs/ext4/ext4_extents.h
fs/ext4/extents.c
fs/ext4/ioctl.c
fs/ext4/move_extent.c [new file with mode: 0644]