[Ocfs2-test-devel] ocfs2-test: bug fixing and cleanup

eric zren at suse.com
Sun Sep 13 20:11:44 PDT 2015


Hi Junxiao,

You and your colleagues have done such a great and huge contribution to 
ocfs2 test!

This patches will help ocfs2 testing more easily and efficiently. We'll 
help review and test this
patches on SUSE distributions.

Thanks you for sharing this.

On 09/14/15 10:43, Junxiao Bi wrote:
> Hi,
>
> There are 59 patches in our queue, basically they are doing the following things.
>
> 1. bug fixing
> 2. code cleanup
> 3. improve test speed
> 4. support run specified testcase
> 5. doc for how to build and run the test suite
>
> Please help review them.
>
>
> -----------------------------------------------------
> Jeff Liu (16):
>        aio-stress: fix aio-stress Makefile to link pthread explicitly.
>        Directio_test: fix open(fd, O_DIRECT) undefined issue.
>        directio_test: Don't proceeding on if one child failed to enable sysrq-trigger.
>        Directio_test: Lack of <sys/stat.h>
>        Splice: Fix conflict definition of splice(2) for splice tests.
>        Reflink_test: explicitly define O_DIRECT, or it would failed to compile.
>        verify_truncate: Lack of cluster index variable upon memcmp failure.
>        verify_truncate: Kill o_ret which is unused variable.
>        reserve_space: s/lld/PRId64/g to suppress compiler warning.
>        xattr-tests: validate return value
>        gen_extents: fix wrong filename validation
>        Inline-data: Remove unused label from inline-data.c.
>        inline-data: do some cleanup
>        check_file_size_limits: fix compile warning
>        reflink_stress_test: abort if truncate reflinked file fail
>        discontig_runner: fix test hanging over time issue
>
> Jie Liu (2):
>        multiple_runner: fix xattr_test on multiple nodes.
>        multiple_runner: fix reflink test on multiple nodes with ssh connections.
>
> Junxiao Bi (29):
>        ocfs2-test: add -t option to run specified testcase
>        xattr-test: fix single test failed
>        xattr-multiple-run: fix Operation not permitted error
>        inline-data: fix ocfs2 volume open error
>        ocfs2-test: add install and run steps to README
>        fillverifyholes: improve test speed
>        reflink-test: fix mutiple reflink test race
>        reflink-test: make test fast
>        backup super test: make test fast
>        xattr-test: make test fast
>        reflink-test: fix multiple stress test
>        mmap-test: fix segment fault
>        aio-stress: fix invalid parameter to pthread_join
>        flock-test: make two nodes to do the test
>        flock-test: disable posix lock test
>        multiple-runner: make testcase return right value
>        lvb-test: fix test failure
>        ocfs2-test: fix build error
>        discontig: fix active discontig block group
>        discontig-test: fix punch hole
>        discontig-test: fix reflink test
>        discontig: fix typo
>        discontig: fix remote mount
>        discontig: use local alloc when active discontig block group
>        discontig: fix wrong remain space
>        discontig: return 0 when gen_extents success
>        discontig: remove some block/cluster test
>        discontig: fix wrong work place setting
>        discontig: fix fork process error
>
> Tiger Yang (12):
>        ocfs2-test: disable defrag test because no definiton of struct ocfs2_move_extents
>        ocfs2-test: fix run_fillverifyholes in single_run-WIP.sh
>        ocfs2-test: fix mkfs-test.sh
>        ocfs2-test: fix tunefs-test.sh
>        ocfs2-test: fix test_backup_test.sh
>        ocfs2-test: fix multiple_run.sh
>        ocfs2-test: fix in splice test
>        ocfs2-test: update openmpi mca parameter
>        ocfs2-test: fix discontig-bg single test
>        ocfs2-test: fix in multi-inline-run
>        ocfs2-test: fix multi exent test in discontig-bg
>        ocfs2-test: adjust inodes test parameter in discontig test
>
>   README                                             |  137 ++++++++++++++++-
>   api-compat/include/splice.h                        |   47 +++---
>   programs/Makefile                                  |    1 -
>   programs/aio-stress/Makefile                       |    2 +-
>   programs/aio-stress/aio-stress.c                   |    3 +-
>   programs/backup_super/test_backup_super.sh         |  143 +++++++++---------
>   .../check_file_size_limits.c                       |    8 +-
>   programs/create_racer/run_create_racer.py          |   10 +-
>   programs/directio_test/directio.h                  |    6 +
>   programs/directio_test/directio_test.c             |   14 +-
>   .../discontig_bg_test/activate_discontig_bg.sh     |   18 ++-
>   programs/discontig_bg_test/discontig_runner.sh     |  154 +++++++++++---------
>   programs/discontig_bg_test/fillup_contig_bg.sh     |   99 ++-----------
>   programs/discontig_bg_test/gen_extents.c           |    4 +-
>   programs/flock_tests/run_flock_unit_test.py        |   15 +-
>   programs/inline-data/Makefile                      |    8 +-
>   programs/inline-data/inline-data-utils.c           |   16 +-
>   programs/inline-data/inline-data.c                 |   47 +++---
>   programs/inline-data/inline-dirs-utils.c           |    4 +-
>   programs/inline-data/inline-dirs.c                 |   23 +--
>   programs/inline-data/multi-inline-data.c           |    8 +-
>   programs/inline-data/multi-inline-dirs.c           |   11 +-
>   programs/inline-data/multi-inline-run.sh           |   18 ++-
>   programs/lvb_torture/run_lvb_torture.py            |    2 +-
>   programs/mkfs-tests/mkfs-test.sh                   |  133 +++++++++--------
>   programs/mmap_test/mmap_test.c                     |    8 +
>   programs/multi_node_mmap/run_multi_mmap.py         |   10 +-
>   programs/python_common/Makefile                    |    1 +
>   programs/python_common/multiple_run.sh             |  127 ++++++++++------
>   programs/python_common/o2tf.py                     |   10 +-
>   programs/python_common/o2tf.sh                     |    1 +
>   programs/python_common/single_run-WIP.sh           |  119 +++++++++++----
>   programs/quota_tests/run_quota_multi_tests.py      |    4 +-
>   programs/reflink_tests/multi_reflink_test.c        |   12 +-
>   programs/reflink_tests/multi_reflink_test_run.sh   |   42 +++---
>   programs/reflink_tests/reflink_test.c              |    5 +-
>   programs/reflink_tests/reflink_test.h              |    4 +
>   programs/reflink_tests/reflink_test_run.sh         |   76 +++++-----
>   programs/reserve_space/reserve_space.c             |    4 +-
>   programs/splice/splice_test.py                     |    5 +-
>   programs/splice/splice_write.c                     |   21 ++-
>   programs/truncate/ocfs2-tools/Makefile             |    2 +-
>   programs/truncate/verify_truncate.c                |    4 +-
>   programs/tunefs-test/remove-slot/Makefile          |    2 +-
>   programs/tunefs-test/tunefs-test.sh                |  135 ++++++-----------
>   .../run_write_append_truncate.py                   |   10 +-
>   programs/xattr_tests/xattr-multi-run.sh            |   12 +-
>   programs/xattr_tests/xattr-multi-test.c            |   12 +-
>   programs/xattr_tests/xattr-single-run.sh           |    6 +-
>   programs/xattr_tests/xattr-test-utils.c            |   83 ++++++-----
>   programs/xattr_tests/xattr-test.c                  |  122 ++++++++++------
>   programs/xattr_tests/xattr-test.h                  |    1 +
>   52 files changed, 1010 insertions(+), 759 deletions(-)
>
>   Thanks,
>   Junxiao.
>
>
> _______________________________________________
> Ocfs2-test-devel mailing list
> Ocfs2-test-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-test-devel
>




More information about the Ocfs2-test-devel mailing list