ext4: add new compacting defragmentation test
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 13 Aug 2014 01:20:35 +0000 (11:20 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 13 Aug 2014 01:20:35 +0000 (11:20 +1000)
commit677d7e16deb3c8b1b5794319b23dff56aa568bef
tree24f20e9f8217125378295602460767ff1cb2740d
parent5eedd36a033822f37d997f68f641ba66e2ad0dc5
ext4: add new compacting defragmentation test

EXT4_MOVE_EXTENT is ready to support case where orig_offset != donor_offset.
This case is usable for compacting small files together.
Test generate file hierarchy via fsstress and then compact all files
to one adjacent block.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
src/Makefile
src/e4compact.c [new file with mode: 0644]
tests/ext4/307 [new file with mode: 0755]
tests/ext4/307.out [new file with mode: 0644]
tests/ext4/group