Commit Graph

2780 Commits

Author SHA1 Message Date
Brian Behlendorf 5c36312909 Script update-zfs.sh updated to include libefi library 2009-10-09 15:37:29 -07:00
Brian Behlendorf be7d71c979 Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-10-06 12:28:20 -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 d4dad0e52b Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-10-05 13:10:33 -07:00
Brian Behlendorf b615df53c8 Remove usage of the __id_u macro for portability.
This macro was removed from the default RPM macro file.  Interestly,
some of the arch specific macro's add it back it based on your distro
but it should not be counted on.  However, __id still exists and its
command line args have historically been fairly stable so we will
directly use %{__id} -un to get the user name.
2009-10-05 13:01:01 -07:00
Brian Behlendorf 2b729a2a6f Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-10-01 17:08:25 -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 c39498254d Extra reference required for dio struct in __vdev_disk_physio.
Exposed by the fc11 debug kernel we need to hold a reference over all
calls to submit_bio().  Otherwise it is possible all the completion
callbacks run before we exit __vdev_disk_physio(), and we end up with
a GPF.  This was quickly exposed when slab poisoning was enabled.  I
have added helper functions to cleanly track the reference counts.  In
addition dr->dr_ref was converted from an integer to an atomic type
which removes the need for the spinlock.  As a nice side effect of
these changes the code is now slightly cleaner and clearer.
2009-09-02 15:08:40 -07:00
Brian Behlendorf f3f51aee8c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-08-18 14:20:46 -07:00
Brian Behlendorf e4b55cfbff Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-08-18 14:18:36 -07:00
Brian Behlendorf 5d83878f46 Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-08-18 14:18:34 -07:00
Brian Behlendorf 21ccfb65d6 Merge commit 'refs/top-bases/gcc-branch' into gcc-branch 2009-08-18 14:18:33 -07:00
Brian Behlendorf e134b976b6 Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch 2009-08-18 14:18:33 -07:00
Brian Behlendorf ef74bed821 Merge branch 'gcc-shadow' into refs/top-bases/gcc-branch 2009-08-18 14:18:32 -07:00
Brian Behlendorf f3ddd9d082 Merge branch 'gcc-uninit' into refs/top-bases/gcc-branch 2009-08-18 14:18:32 -07:00
Brian Behlendorf 8767bb3fdd Merge branch 'gcc-c90' into refs/top-bases/gcc-branch 2009-08-18 14:18:31 -07:00
Brian Behlendorf f9a74de46a Required build 121 updates for gcc-uninit 2009-08-18 14:09:35 -07:00
Brian Behlendorf 08f5b3c23d Required build 121 updates for gcc-shadow 2009-08-18 14:09:15 -07:00
Brian Behlendorf b29c1f87a0 Required build 121 updates for gcc-missing-braces 2009-08-18 14:08:46 -07:00
Brian Behlendorf d42b88372f Required build 121 updates for gcc-c90 2009-08-18 14:07:25 -07:00
Brian Behlendorf 5b4a08d0f4 Move ZPIOS chunk to linux-zpios topic branch 2009-08-18 14:06:05 -07:00
Brian Behlendorf 1cf9e2582c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-08-18 12:34:09 -07:00
Brian Behlendorf 50c623ccef Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-08-18 12:10:55 -07:00
Brian Behlendorf ef0204794a Merge branch 'feature-branch' into refs/top-bases/zfs-branch 2009-08-18 12:10:51 -07:00
Brian Behlendorf 799792cf1c Merge commit 'refs/top-bases/feature-branch' into feature-branch 2009-08-18 12:10:49 -07:00
Brian Behlendorf 8aab887b7c Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads 2009-08-18 12:10:47 -07:00
Brian Behlendorf 33143ae6ad Merge branch 'feature-pthreads' into refs/top-bases/feature-branch 2009-08-18 12:10:47 -07:00
Brian Behlendorf 5a81224e6f Merge commit 'refs/top-bases/feature-commit-cb' into feature-commit-cb 2009-08-18 12:10:43 -07:00
Brian Behlendorf bfbac5daec Merge branch 'feature-zap-cursor-to-key' into refs/top-bases/feature-branch 2009-08-18 12:10:38 -07:00
Brian Behlendorf 4f6bbcd0e7 Merge commit 'refs/top-bases/feature-zap-cursor-to-key' into feature-zap-cursor-to-key 2009-08-18 12:10:36 -07:00
Brian Behlendorf 3fd8eb337b Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2009-08-18 12:10:30 -07:00
Brian Behlendorf e24611a2a9 Merge commit 'refs/top-bases/fix-branch' into fix-branch 2009-08-18 12:10:28 -07:00
Brian Behlendorf 7945050987 Merge branch 'fix-acl' into refs/top-bases/fix-branch 2009-08-18 12:10:24 -07:00
Brian Behlendorf 3206fa76cc Merge commit 'refs/top-bases/fix-acl' into fix-acl 2009-08-18 12:10:23 -07:00
Brian Behlendorf bd4a1cc4ef Merge branch 'fix-deadcode' into refs/top-bases/fix-branch 2009-08-18 12:10:18 -07:00
Brian Behlendorf fe373ddad8 Merge commit 'refs/top-bases/fix-deadcode' into fix-deadcode 2009-08-18 12:10:17 -07:00
Brian Behlendorf 5e33dd44ae Merge branch 'fix-strncat' into refs/top-bases/fix-branch 2009-08-18 12:10:13 -07:00
Brian Behlendorf c77ce6cb93 Merge commit 'refs/top-bases/fix-strncat' into fix-strncat 2009-08-18 12:10:12 -07:00
Brian Behlendorf 0d46ebf0ff Merge branch 'fix-list' into refs/top-bases/fix-branch 2009-08-18 12:10:08 -07:00
Brian Behlendorf ae5bc5970d Merge commit 'refs/top-bases/fix-list' into fix-list 2009-08-18 12:10:07 -07:00
Brian Behlendorf 8a8490b570 Merge branch 'fix-taskq' into refs/top-bases/fix-branch 2009-08-18 12:10:03 -07:00
Brian Behlendorf e20ba40c91 Merge commit 'refs/top-bases/fix-taskq' into fix-taskq 2009-08-18 12:10:02 -07:00
Brian Behlendorf 12c361b1a1 Merge branch 'fix-stack' into refs/top-bases/fix-branch 2009-08-18 12:09:58 -07:00
Brian Behlendorf f8cca2b295 Merge commit 'refs/top-bases/fix-stack' into fix-stack 2009-08-18 12:09:57 -07:00
Brian Behlendorf 0911c7f7c3 Merge branch 'fix-rwlocks' into refs/top-bases/fix-branch 2009-08-18 12:09:53 -07:00
Brian Behlendorf 169f50db79 Merge commit 'refs/top-bases/fix-rwlocks' into fix-rwlocks 2009-08-18 12:09:52 -07:00
Brian Behlendorf 0ec64690ba Merge branch 'fix-no-zmod' into refs/top-bases/fix-branch 2009-08-18 12:09:47 -07:00
Brian Behlendorf abe9fefd9b Merge commit 'refs/top-bases/fix-no-zmod' into fix-no-zmod 2009-08-18 12:09:46 -07:00
Brian Behlendorf 3454bd3d24 Merge branch 'fix-newlines' into refs/top-bases/fix-branch 2009-08-18 12:09:42 -07:00
Brian Behlendorf e8791794b6 Merge commit 'refs/top-bases/fix-newlines' into fix-newlines 2009-08-18 12:09:41 -07:00