Skip to content

Commit

Permalink
direct_io/dma_thread_diotest7.c: cleanup and add it to run default
Browse files Browse the repository at this point in the history
This test will create 100 files(every is 12MB), so the total needed free space is
1200MB at least. If the current test temporary directory do not satisfy this
requirement, wo need to specify a big block device by running runltp with -z option.
If satisfied, we also need to check whether filesystem, which current test temporary
directory is in, supports the O_DIRECT flag. If not supported, we will also need to
have tests in a big block device specified by users.

Rename runtest/test_dma_thread_diotest7 to runtest/dma_thread_diotest and
split tests in runtest/dma_thread_diotest into separate testcases, keep one entry
per test in runtest/dma_thread_diotest. And remove test_dma_thread_diotest7.sh,
which is useless now.

Some cleanup.

Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
  • Loading branch information
wangxiaoguang authored and metan-ucw committed May 29, 2014
1 parent eca51a6 commit 52de6e2
Show file tree
Hide file tree
Showing 4 changed files with 238 additions and 218 deletions.
7 changes: 7 additions & 0 deletions runtest/dma_thread_diotest
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dma_thread_diotest7_1 dma_thread_diotest7 -a 512
dma_thread_diotest7_2 dma_thread_diotest7 -a 1024
dma_thread_diotest7_3 dma_thread_diotest7 -a 1536
dma_thread_diotest7_4 dma_thread_diotest7 -a 2048
dma_thread_diotest7_5 dma_thread_diotest7 -a 2560
dma_thread_diotest7_6 dma_thread_diotest7 -a 3072
dma_thread_diotest7_7 dma_thread_diotest7 -a 3584
2 changes: 0 additions & 2 deletions runtest/test_dma_thread_diotest7

This file was deleted.

0 comments on commit 52de6e2

Please sign in to comment.