New ZFSv28 patchset for 8-STABLE

Martin Matuska mm at
Thu Dec 16 12:44:36 UTC 2010

Hi everyone,

following the announcement of Pawel Jakub Dawidek (pjd at I am
providing a ZFSv28 testing patch for 8-STABLE.

Link to the patch:

Link to mfsBSD ISO files for testing (i386 and amd64):

The root password for the ISO files: "mfsroot"
The ISO files work on real systems and in virtualbox.
They conatin a full install of FreeBSD 8.2-PRERELEASE with ZFS v28,
simply use the provided "zfsinstall" script.

The patch is against FreeBSD 8-STABLE as of 2010-12-15.

When applying the patch be sure to use correct options for patch(1)
and make sure the file sys/cddl/compat/opensolaris/sys/sysmacros.h gets

    # cd /usr/src
    # fetch
    # xz -d stable-8-zfsv28-20101215.patch.xz
    # patch -E -p0 < stable-8-zfsv28-20101215.patch
    # rm sys/cddl/compat/opensolaris/sys/sysmacros.h

>From Pawel's announcement:

Some of the changes since the last patchset (zfs_20100831.patch):

- Boot support for ZFS v28 (only RAIDZ3 is not yet supported).
- Various fixes for the existing ZFS boot code.
- Support for sendfile(2) (by avg@).
- Userland<->kernel compatibility with v13-v15 (by mm@).
- ACL fixes (by trasz@).
- Various bug fixes.

Please test, test, test. Chances are this is the last patchset before
v28 going to HEAD (finally) and after a reasonable testing period into
Especially test new changes, like boot support and sendfile(2) support.
Also be sure to verify if you can import for existing ZFS pools
(v13-v15) when running v28 or boot from your existing pools.

Please test the (v13-v15) compatibility layer as well:
Old usereland + new kernel / old kernel + new userland

More information about ZFS on my blog:

More information about the freebsd-stable mailing list