From 70407622a7306212db545b3b4db34f638d04a087 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 18 Mar 2009 14:19:04 -0700 Subject: [PATCH] Move `make check` ztest under ./scripts where the module stack is loaded. --- TODO | 21 +++------------------ cmd/ztest/Makefile.am | 3 --- scripts/Makefile.am | 25 +++++++++++++++---------- 3 files changed, 18 insertions(+), 31 deletions(-) diff --git a/TODO b/TODO index 69ab21afa6..0df7979095 100644 --- a/TODO +++ b/TODO @@ -1,14 +1,4 @@ -SUMMARY OF MAJOR KNOWN PROBLEMS IN v0.4.1 (Development Release) - -- 2009-01-26 16:23:00 SPLError: 7884:1360:(dnode.c:146:dnode_verify()) - VERIFY3(dn->dn_nblkptr >= 1) failed (0 >= 1) - - When enabling debugging in ZFS with the --enable-debug configure option - we always trip the following VERIFY. This issue was present in the - previous 0.3.3 release and was avoided simply by leaving debugging - disabled until it could be explained. Well it has not just gone - always with the update to b105 so we need to run it to ground and - explain what is going on. +SUMMARY OF MAJOR KNOWN PROBLEMS IN v0.4.3 (Development Release) - Implement FLUSH support probably in terms of a barrier as part of the vdev_disk.c interface. Required for correctness. @@ -22,16 +12,11 @@ SUMMARY OF MAJOR KNOWN PROBLEMS IN v0.4.1 (Development Release) drives appear or are removed. There is no easy analog to my knowledge for linux and we will need to come up with something. -- Integrate Ricardo XDR support for on disk encoding. This mainly - just needs a good review and to be updated against this code tree. - -- Ztest failures have been observed after 8+ hours of runtime. This - needs to be investigated and resolved. - - Get the ZVOL working as a vehicle for further stress testing under Linux, and to provide one useful user space interface for access to the DMU. - Get the ZPL working minimal support will be needed for lustre. -- If Richardo is willing integrate his FUSE port in to this code base. +- Integrate the FUSE port in to this code base, or rebase it as its + own zfs-fuse package which is built against the zfs-devel package. diff --git a/cmd/ztest/Makefile.am b/cmd/ztest/Makefile.am index 216089ef1c..c1dae8f592 100644 --- a/cmd/ztest/Makefile.am +++ b/cmd/ztest/Makefile.am @@ -28,6 +28,3 @@ ztest_LDADD = \ $(top_builddir)/lib/libzfs/libzfs.la ztest_LDFLAGS = -pthread -lm -lz -lrt -ldl - -check: - ./ztest -V diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 5ded64075a..5b60cd7bf5 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,14 +1,19 @@ SUBDIRS = zpool-config EXTRA_DIST = common.sh zfs-update.sh zfs.sh zpool-create.sh +ZFS=${top_srcdir}/scripts/zfs.sh +ZTEST=${top_builddir}/cmd/ztest/ztest +ZPIOS=${top_srcdir}/scripts/zpios.sh + check: - ./zfs.sh -v - ./zpios.sh -c file-raid0 -t tiny - ./zpios.sh -c file-raid10 -t tiny - ./zpios.sh -c file-raidz -t tiny - ./zpios.sh -c file-raidz2 -t tiny - ./zpios.sh -c lo-raid0 -t tiny - ./zpios.sh -c lo-raid10 -t tiny - ./zpios.sh -c lo-raidz -t tiny - ./zpios.sh -c lo-raidz2 -t tiny - ./zfs.sh -vu + $(ZFS) -v + $(ZTEST) -V + $(ZPIOS) -c file-raid0 -t tiny + $(ZPIOS) -c file-raid10 -t tiny + $(ZPIOS) -c file-raidz -t tiny + $(ZPIOS) -c file-raidz2 -t tiny + $(ZPIOS) -c lo-raid0 -t tiny + $(ZPIOS) -c lo-raid10 -t tiny + $(ZPIOS) -c lo-raidz -t tiny + $(ZPIOS) -c lo-raidz2 -t tiny + $(ZFS) -vu