Skip to content

Commit

Permalink
zrepl tests and checkpointed IO support
Browse files Browse the repository at this point in the history
Author of the fix is Satbir.

Signed-off-by: Jan Kryl <jan.kryl@cloudbyte.com>
  • Loading branch information
Jan Kryl committed Mar 26, 2018
1 parent 31d8e28 commit 75ab0d5
Show file tree
Hide file tree
Showing 10 changed files with 727 additions and 213 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ env:
ZFS_BUILD_TAGS=0
- ZFS_TEST_TAGS=fio_test
ZFS_BUILD_TAGS=0
- ZFS_TEST_TAGS=zrepl_test
ZFS_BUILD_TAGS=0
- ZFS_BUILD_TAGS=1
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
Expand Down
2 changes: 2 additions & 0 deletions cmd/uzfs_test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ uzfs_test_SOURCES = \
uzfs_test_sync.c \
uzfs_zvol_zap.c \
uzfs_txg_diff.c \
zrepl_utest.c \
uzfs_rebuilding.c


uzfs_test_LDADD = \
$(top_builddir)/lib/libnvpair/libnvpair.la \
$(top_builddir)/lib/libuutil/libuutil.la \
Expand Down
2 changes: 2 additions & 0 deletions cmd/uzfs_test/uzfs_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ uint32_t uzfs_test_id = 0;
uint32_t create = 0;
char *pool = "testp";
char *ds = "ds0";
int max_iops = 0;

uzfs_test_info_t uzfs_tests[] = {
{ uzfs_zvol_zap_operation, "uzfs zap operation test" },
Expand All @@ -47,6 +48,7 @@ uzfs_test_info_t uzfs_tests[] = {
"test to verify modified blocks between two txg for zvol" },
{ uzfs_txg_diff_tree_test, "txg_diff_tree functionality test" },
{ uzfs_rebuild_test, "uzfs rebuild pool test"},
{ zrepl_utest, "ZFS replication test" },
};

uint64_t metaverify = 0;
Expand Down
Loading

0 comments on commit 75ab0d5

Please sign in to comment.