zfs/module
Brian Behlendorf 3c3546f8a2 Ensure devices are always created/removed
Devices were only being created at module load time or when a
dataset was created.  Similiar devices were not always being
removed at all the correct times.  This patch updates all the
places where devices should either be created or removed.  I'm
reasonably sure I got them all but if theres a case I missed
we can catch it with a follow up patch.

	module load/unload
	zfs create/remove
	zpool import/export
	zpool destroy

This patch also adds a simple regression test to zconfig.sh
to ensure zpool import/export is basically working properly.
This test specifically checks that devices are created
properly, removed after export, created after import, and
removed as a consequence of a zpool destroy.
2010-07-02 12:05:14 -07:00
..
avl Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch 2010-05-28 22:14:39 -07:00
nvpair Update linux-kernel-module with refreshed EXPORT_SYMBOLs 2010-06-14 15:58:15 -07:00
unicode Move zfs_config.h include to command line -include 2010-03-22 16:48:16 -07:00
zcommon Merge branch 'linux-debug-zerocopy' into refs/top-bases/linux-zfs-branch 2010-06-14 16:11:05 -07:00
zfs Ensure devices are always created/removed 2010-07-02 12:05:14 -07:00
zpios Disable zero-copy in zpios 2010-06-28 10:53:51 -07:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.in Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2010-03-09 10:31:33 -08:00