generic: add new defragment test
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 13 Aug 2014 01:19:33 +0000 (11:19 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 13 Aug 2014 01:19:33 +0000 (11:19 +1000)
commit5eedd36a033822f37d997f68f641ba66e2ad0dc5
tree86b9817d8d7514cd61aaad89de0c238643e47ab6
parent2f87a77e0f0769cd01128e465a0424ba0d83fe43
generic: add new defragment test

Check defrag utility on file with large number of fragments, from 20 to 2000.
2000 fragments means that b+tree will have at least two index blocks.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/324 [new file with mode: 0644]
tests/generic/324.out [new file with mode: 0644]
tests/generic/group