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>
这个提交包含在:
Akira Fujita
2009-06-17 19:24:03 -04:00
提交者 Theodore Ts'o
父节点 8b0f9e8f78
当前提交 748de6736c
修改 6 个文件,包含 1378 行新增3 行删除

1320
fs/ext4/move_extent.c 普通文件

文件差异内容过多而无法显示 加载差异