Commit Graph

16149 Commits

Author SHA1 Message Date
Brian Behlendorf a472010844 Merge commit 'refs/top-bases/linux-have-fm' into linux-have-fm 2009-11-02 13:08:14 -08:00
Brian Behlendorf 3282cf9748 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-11-02 13:08:08 -08:00
Brian Behlendorf eb8d5024c4 Merge commit 'refs/top-bases/linux-docs' into linux-docs 2009-11-02 13:08:06 -08:00
Brian Behlendorf 1911adb241 Prep for 0.4.6 tag, updated META, ChangeLog, and TODO. 2009-11-02 13:03:59 -08:00
Brian Behlendorf 84fc60b884 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-11-02 09:25:41 -08:00
Brian Behlendorf 77446e653c Add performance results for v0.4.6 on 1/4 scale test system. 2009-11-02 09:20:44 -08:00
Brian Behlendorf 308d9739af Merge branch 'linux-have-idmap' into refs/top-bases/linux-zfs-branch 2009-10-27 15:04:30 -07:00
Brian Behlendorf 5b1aee0c36 Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap 2009-10-27 15:04:28 -07:00
Brian Behlendorf c0105c3b4c Merge branch 'linux-ztest' into refs/top-bases/linux-zfs-branch 2009-10-27 15:04:22 -07:00
Brian Behlendorf c3344b66bd Merge commit 'refs/top-bases/linux-ztest' into linux-ztest 2009-10-27 15:04:21 -07:00
Brian Behlendorf d2bbaf0ffb Merge branch 'linux-have-zpl' into refs/top-bases/linux-zfs-branch 2009-10-27 15:04:15 -07:00
Brian Behlendorf d624508c99 Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl 2009-10-27 15:04:13 -07:00
Brian Behlendorf 633f7e4741 Merge branch 'linux-unused' into refs/top-bases/linux-zfs-branch 2009-10-27 15:04:08 -07:00
Brian Behlendorf 86b691881a Merge commit 'refs/top-bases/linux-unused' into linux-unused 2009-10-27 15:04:06 -07:00
Brian Behlendorf 2e7a8be785 Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2009-10-27 15:04:00 -07:00
Brian Behlendorf 64a466be15 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-10-27 15:03:59 -07:00
Brian Behlendorf d34af681ee Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-10-27 15:03:53 -07:00
Brian Behlendorf 98e0ea6e3e Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-10-27 15:03:51 -07:00
Brian Behlendorf 22c51d6136 Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch 2009-10-27 15:03:46 -07:00
Brian Behlendorf 8cfd186d87 Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2009-10-27 15:03:44 -07:00
Brian Behlendorf c13dfeaef8 Merge branch 'linux-symbol-collisions' into refs/top-bases/linux-zfs-branch 2009-10-27 15:03:38 -07:00
Brian Behlendorf 8e13193161 Merge commit 'refs/top-bases/linux-symbol-collisions' into linux-symbol-collisions 2009-10-27 15:03:36 -07:00
Brian Behlendorf a2fc401278 Merge branch 'linux-legacy' into refs/top-bases/linux-zfs-branch 2009-10-27 15:03:31 -07:00
Brian Behlendorf a8d302ff83 Merge commit 'refs/top-bases/linux-legacy' into linux-legacy 2009-10-27 15:03:29 -07:00
Brian Behlendorf d7fb4ab7fe Merge branch 'linux-kernel-mem' into refs/top-bases/linux-zfs-branch 2009-10-27 15:03:23 -07:00
Brian Behlendorf d60568eb41 Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem 2009-10-27 15:03:22 -07:00
Brian Behlendorf 6f111fc3e6 Merge branch 'linux-kernel-disk' into refs/top-bases/linux-zfs-branch 2009-10-27 15:03:16 -07:00
Brian Behlendorf d509ff0e40 Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-10-27 15:03:14 -07:00
Brian Behlendorf 969fde4ae5 Merge branch 'linux-have-zvol' into refs/top-bases/linux-zfs-branch 2009-10-27 15:03:09 -07:00
Brian Behlendorf f80667aafb Merge commit 'refs/top-bases/linux-have-zvol' into linux-have-zvol 2009-10-27 15:03:07 -07:00
Brian Behlendorf 9569fa25a4 Merge branch 'linux-have-uio-rw' into refs/top-bases/linux-zfs-branch 2009-10-27 15:03:01 -07:00
Brian Behlendorf 0d884efc91 Merge commit 'refs/top-bases/linux-have-uio-rw' into linux-have-uio-rw 2009-10-27 15:02:59 -07:00
Brian Behlendorf efe92cd6ad Merge commit 'refs/top-bases/linux-debug-zerocopy' into linux-debug-zerocopy 2009-10-27 15:02:59 -07:00
Brian Behlendorf 8874842335 Merge branch 'linux-have-sysevent' into refs/top-bases/linux-zfs-branch 2009-10-27 15:02:49 -07:00
Brian Behlendorf ece5e73882 Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-10-27 15:02:47 -07:00
Brian Behlendorf 33618ea044 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-10-27 15:02:46 -07:00
Brian Behlendorf 234633b4b1 Merge branch 'linux-have-spl-debug' into refs/top-bases/linux-zfs-branch 2009-10-27 15:02:37 -07:00
Brian Behlendorf 68f961299e Merge commit 'refs/top-bases/linux-have-spl-debug' into linux-have-spl-debug 2009-10-27 15:02:35 -07:00
Brian Behlendorf ab4306f9d1 Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch 2009-10-27 15:02:29 -07:00
Brian Behlendorf 001c847cc7 Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent 2009-10-27 15:02:27 -07:00
Brian Behlendorf 617655ee5f Merge branch 'linux-have-fm' into refs/top-bases/linux-zfs-branch 2009-10-27 15:02:22 -07:00
Brian Behlendorf 2650b697e0 Merge commit 'refs/top-bases/linux-have-fm' into linux-have-fm 2009-10-27 15:02:20 -07:00
Brian Behlendorf df6bfa3ce9 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-10-27 15:02:15 -07:00
Brian Behlendorf 87218f5709 Merge commit 'refs/top-bases/linux-docs' into linux-docs 2009-10-27 15:02:13 -07:00
Brian Behlendorf a9accbcb57 Always open using O_EXCL to ensure the device is not in use.
Allow partition tables on md devices but not dm- devices.
2009-10-27 14:58:12 -07:00
Brian Behlendorf ed97b4447d Adds the last missing block device support (merge_bdev support)
This change should wrap up the last of the missing block device
support in the vdev_disk layer.  With this change I can now
successfully create and use zpools which are layered on top of
md and lvm virtual devices.  The following changes include:

1) The big one, properly handle the case when page cannot be added
to a bio due to dynamic limitation of a merge_bdev handler.  For
example the md device will limit a bio to the configured stripe
size.  Our bio size may also end up being limited by the maximum
request size, and other factors determined during bio construction.

To handle all of the above cases the code has been updated to
handle failures from bio_add_page().  This had been hardcoded to
never fail for the prototype proof of concept implementation.  In
the case of a failure the number of bytes which still need to be
added to a bio are returned.  New bio's are allocated and attached
to the dio until the entire data buffer is mapped to bios.  It is
then submitted as before to the request queue, and once all the bio's
attached to a dio have finished the completion callback is run.

2) The devid comments have been removed because it is not clear to
me that we will not need devid support.  They have been replaced
with a comment explaining that udev can and should be used.
2009-10-27 14:38:38 -07:00
Brian Behlendorf 008f3a42bb Added zpios-sanity.sh script to validate common configurations.
This script was added to provide a simple way to check that zpool
layers correctly on all the standard linux block device types.
It's still a little fragile if there a hiccup in say the md or
lvm tool chain but aside from that it works well.

The 'make check' target now also calls this script in a safe mode
which only operates on files and loopback devices.  To check other
block devices types is must be explicitly run by hand because it
will overwrite various block devices.
2009-10-27 14:33:27 -07:00
Brian Behlendorf 2d70e6fd91 Update scripts to cleanup better when setup failures occur 2009-10-27 14:31:31 -07:00
Brian Behlendorf 0f959cc313 Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch 2009-10-26 10:53:52 -07:00
Brian Behlendorf 37a519433c Add additional clarification for Linux systems to error message. 2009-10-26 10:50:43 -07:00