OLD | NEW |
| (Empty) |
1 fs = job.filesystem('/dev/sda3', job.tmpdir) | |
2 | |
3 iters=10 | |
4 | |
5 for fstype, mountopts, tag in (('ext2', '', 'ext2'), | |
6 ('ext3', '-o data=writeback', 'ext3writeback'), | |
7 ('ext3', '-o data=ordered', 'ext3ordered'), | |
8 ('ext3', '-o data=journal', 'ext3journal')): | |
9 fs.mkfs(fstype) | |
10 fs.mount(args=mountopts) | |
11 try: | |
12 job.run_test('fsx', dir=job.tmpdir, tag=tag) | |
13 job.run_test('iozone', dir=job.tmpdir, iterations=iters, tag=tag
) | |
14 job.run_test('dbench', | |
15 iterations=iters, | |
16 dir=job.tmpdir, | |
17 tag=tag) | |
18 job.run_test('tiobench', dir=job.tmpdir, tag=tag) | |
19 finally: | |
20 fs.unmount() | |
OLD | NEW |