]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstest: add defragmentation stress tests for ext4
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 20 Feb 2013 10:42:14 +0000 (10:42 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 4 Mar 2013 23:14:45 +0000 (17:14 -0600)
commita3d92a6cbdf9e98d8e256974b50b025d1d4575ec
tree6c686c1528871f457a82eb222dca45fcbcdd69b4
parent892125a53aac8e82dec99fe4e824c39513d4a17a
xfstest: add defragmentation stress tests for ext4

Perform various regression tests for ext4defrag subsystem

 301'th Test1: Defragment file while other task does direct AIO
 302'th Test2: Perform defragmentation on file under buffered AIO
  while third task does direct AIO to donor file
 303'th Test3: Two defrag tasks use common donor file.
 304'th Test4: Stress defragmentation. Several threads perform
  fragmentation at random position use inplace=1 will
allocate and free blocks inside defrag event improve
load pressure.

This tests are considered dangerous because 302'th and 303'th are known
to trigger OOPS on recent kernels see:https://gist.github.com/dmonakhov/4770294

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
301 [new file with mode: 0644]
301.out [new file with mode: 0644]
302 [new file with mode: 0644]
302.out [new file with mode: 0644]
303 [new file with mode: 0644]
303.out [new file with mode: 0644]
304 [new file with mode: 0644]
304.out [new file with mode: 0644]
common.defrag
group