Commit Graph

294 Commits

Author SHA1 Message Date
Brian Behlendorf e8856c2879 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-10-21 12:04:42 -07:00
Brian Behlendorf b2f7632187 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-10-21 12:03:33 -07:00
Brian Behlendorf 5bf14d3400 Update zpool-configs to be udev aware.
To simplify creation and management of test configurations the
dragon and x4550 configureis have been integrated with udev.  Our
current best guess as to how we'll actually manage the disks in
these systems is with a udev mapping scheme.  The current leading
scheme is to map each drive to a simpe <CHANNEL><RANK> id.  In
this mapping each CHANNEL is represented by the letters a-z, and
the RANK is represented by the numbers 1-n.  A CHANNEL should
identify a group of RANKS which are all attached to a single
controller, each RANK represents a disk.  This provides a nice
mechanism to locate a specific drive given a known hardware
configuration.  Various hardware vendors use a similar scheme.

A nice side effect of these changes is it allowed me to make
the raid0/raid10/raidz/raidz2 setup functions generic.  This
makes adding new test configs easy, you just need to create
a udev rules file for your test config which conforms to the
naming scheme.
2009-10-21 11:38:51 -07:00
Brian Behlendorf 69c211131d Refresh autogen products 2009-10-15 16:46:45 -07:00
Brian Behlendorf d1e18d0e3b Refresh autogen products 2009-10-14 16:00:33 -07:00
Brian Behlendorf 00c6a706a5 Refresh autogen products 2009-10-09 16:46:19 -07:00
Brian Behlendorf b04c6f54b9 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-10-09 15:46:16 -07:00
Brian Behlendorf 90b0761a16 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-10-09 15:43:37 -07:00
Brian Behlendorf e0e0f0ea84 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-10-09 15:43:33 -07:00
Brian Behlendorf 5c36312909 Script update-zfs.sh updated to include libefi library 2009-10-09 15:37:29 -07:00
Brian Behlendorf 223aac31be Refresh autogen products. 2009-10-06 12:32:47 -07:00
Brian Behlendorf 4f89a1ce7a Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-10-06 12:31:09 -07:00
Brian Behlendorf e22d671281 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-10-06 12:26:00 -07:00
Brian Behlendorf 5d4c60fabe Use alternate /etc/zfs/zpool.cache file for in-tree tests
Pass an alternate location via module option for the zpool.cache file
used by the kernel.  This allows us to write in-tree tests which do
not modify any out-of-tree files we do not own.  This is just standard
good behavior for any test suite.

Additionally, refine the existing test case to explicity use the cache
file when looking for pools to import.  And add a second test cache
which is forced to probe the disks for available pools to import.
2009-10-06 12:12:05 -07:00
Brian Behlendorf 8bc91a2ae6 Refresh autogen products 2009-10-01 17:11:35 -07:00
Brian Behlendorf 93f4668b9e Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-10-01 17:10:24 -07:00
Brian Behlendorf 8d3df842d1 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch
Conflicts:

	scripts/Makefile.am
2009-10-01 17:05:55 -07:00
Brian Behlendorf 0efea24e73 Add zconfig.sg test script.
This is an initial script for validation of zfs/zpool configuration.
For now there is only one test here to ensure that /etc/zfs/zpool.cache
is being updated properly from the kernel module.  Additional tests
should be added, I believe Richardo said there was an existing test
suite out there which validated the behavior of many zpool/zfs commands.
It would be nice to add that as appropriate.
2009-10-01 16:55:34 -07:00
Brian Behlendorf 3bf69e0905 Refresh autogen products 2009-08-18 14:59:40 -07:00
Brian Behlendorf 639e2364bf Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-18 14:55:22 -07:00
Brian Behlendorf af90397fbc Move ZPIOS chunk to linux-zpios topic branch 2009-08-18 14:48:25 -07:00
Brian Behlendorf aeef1cf6e9 Refresh autogen products 2009-08-18 14:45:04 -07:00
Brian Behlendorf 92bb246ab4 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-18 14:22:55 -07:00
Brian Behlendorf cd710627dd Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-08-18 14:21:47 -07:00
Brian Behlendorf 147adbe815 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-08-18 14:18:40 -07:00
Brian Behlendorf 5b4a08d0f4 Move ZPIOS chunk to linux-zpios topic branch 2009-08-18 14:06:05 -07:00
Brian Behlendorf ddda617645 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-18 10:51:30 -07:00
Brian Behlendorf 38f5d8fd54 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-08-18 10:51:10 -07:00
Brian Behlendorf 48dae5b818 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-08-18 10:50:17 -07:00
Brian Behlendorf adc7bb76f2 Add 3 dragon drawer test configurations (raid0, raidz, raidz2).
The current test rig consists of two 60 disk dragon drawers in configured
in 4-x15 mode.  Each drawer has 4 SAS connections to my node for a total
of 8 SAS connections spread over 4 dual-port LSI SAS adapters.  The
configures are as follows:
- raid0:  All 120 drives in a single pool.
- raidz:  15 RAIDZ groups of 7+1.
- raidz2: 15 RAIDZ2 groups of 6+2.
2009-08-18 10:40:30 -07:00
Brian Behlendorf 1f8a43f7a2 Refresh autogen products 2009-08-17 21:58:33 -07:00
Brian Behlendorf 49be3a6efa Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-17 21:57:04 -07:00
Brian Behlendorf 8e954086b9 Add zpios scripts to zfs-test package test infrastructure.
This change extends the existing in-tree test infrastructure such
that it can also be run as part of a the installed package.  This
simplifies testing on multiple systems and is generally all around
useful.  The scripts may still be run in-tree and will use the
in-tree build products as long as .script-config exists.
2009-08-17 21:50:55 -07:00
Brian Behlendorf 89d97ddfc9 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-17 21:47:54 -07:00
Brian Behlendorf 48107741cd Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
Conflicts:

	configure.ac
	scripts/Makefile.am
2009-08-17 21:46:51 -07:00
Brian Behlendorf 2af51466af Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch
Conflicts:

	configure.ac
	scripts/Makefile.am
2009-08-17 21:41:45 -07:00
Brian Behlendorf 4f555da51d Add zfs-test package which includes test infrastructure.
This change extends the existing in-tree test infrastructure such
that it can also be run as part of a the installed package.  This
simplifies testing on multiple systems and is generally all around
useful.  The scripts may still be run in-tree and will use the
in-tree build products as long as .script-config exists.
2009-08-17 21:35:06 -07:00
Brian Behlendorf 535dab57d2 Refresh autogen products. 2009-07-29 17:54:49 -07:00
Brian Behlendorf 087b16f9f7 Refresh autogen products 2009-07-27 10:52:57 -07:00
Brian Behlendorf 198180fdd2 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-27 10:51:34 -07:00
Brian Behlendorf 49d045e35d Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-07-27 10:50:31 -07:00
Brian Behlendorf c7384d6b2e Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-07-27 10:47:31 -07:00
Brian Behlendorf 3a431c68c2 Remove LINUXINCLUDE from autoconf wrapper, breaks 2.6.28+ kernels.
Modern kernel build systems at least post 2.6.16 will set this properly
so we should not.  In fact post 2.6.28 the include headers have moved
under arch so the guess we make here is completely wrong.  Letting
the kernel build system set this ensure it will be correct.  Also
drop the ulimit from the Makefile which, not surprisingly, turns out
to be very non-portable.  If your expecting failures set the ulimit
in your shell before kicking off the test suite.
2009-07-27 10:39:28 -07:00
Brian Behlendorf bc5b337a6b Refresh autogen products 2009-07-24 16:08:39 -07:00
Brian Behlendorf 9e3a99a18d Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-24 16:08:03 -07:00
Brian Behlendorf 518a89550a Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
Conflicts:

	scripts/Makefile.am
2009-07-24 16:04:26 -07:00
Brian Behlendorf 5ecd180d91 ulimit is a function of the shell and should be invoked as such. 2009-07-24 15:50:57 -07:00
Brian Behlendorf 7eee2fbe15 Refresh autogen products 2009-07-24 15:33:32 -07:00
Brian Behlendorf 40cad03c51 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-07-24 11:18:03 -07:00
Brian Behlendorf 96a05001c1 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
Conflicts:

	scripts/Makefile.am
2009-07-24 11:16:47 -07:00