zfs-linux (0.6.5.6-0ubuntu30) xenial; urgency=medium

  * Improve scrub testing in kernel-smoke-test-scrub (LP: #1934910)
    On some slower small memory systems we need to check until resilvering
    has completed. The most reliably method is to poll on a scrub until
    it finishes successfully. Give up after ~15 minutes and flag a failure
    if the scrub can't start or complete successfully.

 -- Colin Ian King <colin.king@canonical.com>  Thu, 8 Jul 2021 08:51:21 +0100

zfs-linux (0.6.5.6-0ubuntu29) xenial; urgency=medium

  * Fix race condition in zfs_iput_async (LP: #1916486)
    - Upstream ZFS fix 43eaef6de817 ("Fix zrele race in zrele_async that can
      cause hang")

 -- Heitor Alves de Siqueira <halves@canonical.com>  Thu, 25 Feb 2021 18:21:48 +0000

zfs-linux (0.6.5.6-0ubuntu28) xenial; urgency=medium

  * Fix ZFS shrinker deadlock with xattrs (LP: #1839521)
    - Upstream ZFS fix 31b6111fd92a ("Kill zp->z_xattr_parent to prevent pinning")
      and ddae16a9cf0b ("xattr dir doesn't get purged during iput") fix a deadlock
      in shrinker path when a xattr directory inode and its xattr inode are in the
      same disposal list and the xattr dir inode is evicted before the xattr inode.

 -- Mauricio Faria de Oliveira <mfo@canonical.com>  Wed, 07 Aug 2019 11:01:11 -0300

zfs-linux (0.6.5.6-0ubuntu27) xenial; urgency=medium

  * Fix modules not loaded on debian tests (LP: #1813749)
    - ADT tests are failing with some Xenial packages because the zfs
      module is not loaded before the tests start. This can be fixed
      by loading the module on the main test script (kernel-smoke-test)
      as done by the package built for later series.

 -- Kleber Sacilotto de Souza <kleber.souza@canonical.com>  Tue, 29 Jan 2019 11:40:10 +0100

zfs-linux (0.6.5.6-0ubuntu26) xenial; urgency=medium

  * Fix error exit when using -t option (LP: #1769937)
    - Upstream ZFS fix 4ceb8dd6fdfd ("Fix 'zpool create -t <tempname>'")
      fixes error message and error exit when using the -t option
      when creating a pool.

 -- Colin Ian King <colin.king@canonical.com>  Wed, 10 Oct 2018 12:16:47 +0100

zfs-linux (0.6.5.6-0ubuntu25) xenial; urgency=medium

  * Fix zpl_mount() deadlock (LP: #1781364)
    - Upstream ZFS fix ac09630d8b0b ("Fix zpl_mount() deadlock")
      fixes deadlock on multiple parallelized mount/umounts

 -- Colin Ian King <colin.king@canonical.com>  Thu, 12 Jul 2018 09:18:24 +0100

zfs-linux (0.6.5.6-0ubuntu24) xenial; urgency=medium

  * Allow multiple mounts of zfs datasets (LP: #1759848)
    - Change zpl_mount() to call sget() directly with it's own test
      callback. Passing the objset_t object as the fs data allows
      checking if a superblock already exists for the dataset, and in
      that case we just need to return a new reference for the sb's
      root dentry.

 -- Colin Ian King <colin.king@canonical.com>  Thu, 25 Jun 2018 14:31:14 +0100

zfs-linux (0.6.5.6-0ubuntu23) xenial; urgency=medium

  * Revert previous fix, re-work by checking for
    a container using /run/systemd/container and
    set timeout to zero for zfs list or zpool status
    when running inside a container (LP: #1760173)

 -- Colin Ian King <colin.king@canonical.com>  Thu, 7 Jun 2018 17:25:12 +0100

zfs-linux (0.6.5.6-0ubuntu22) xenial; urgency=medium

  * Set timeout to zero for zfs list or zpool status
    when running inside a container (LP: #1760173)

 -- Colin Ian King <colin.king@canonical.com>  Thu, 7 Jun 2018 09:55:11 +0100

zfs-linux (0.6.5.6-0ubuntu21) xenial; urgency=medium

  * Add ZFS 0.7.0 compat fix for zvol_id (LP: #1763067)
    The BLKZNAME ioctl msg size has changed in ZFS 0.7.0 so
    add forwards compat handling for this ioctl by retrying
    with this newer msg size if the first call fails

 -- Colin Ian King <colin.king@canonical.com>  Thu, 12 Apr 2018 11:14:23 +0100

zfs-linux (0.6.5.6-0ubuntu20) xenial; urgency=medium

  * Fix mmap'd libaio read on non-prefaulted page deadlock (LP: #1754584)
    - Revert previous fix as there still is a potential for deadlock
      on the prefaulted page(s). Resolve the issue by only taking a
      reference on the page when copying it and not the page lock.
      The inode range lock protects against concurrent updates via
      zfs_read() and zfs_write().

 -- Colin Ian King <colin.king@canonical.com>  Wed, 28 Mar 2018 14:35:11 +0100

zfs-linux (0.6.5.6-0ubuntu19) xenial; urgency=medium

  * Add ZFS 0.7.0 kernel ioctl binary compat shim (LP: #1737761)
    Detect ZFS kernel driver version and copy zfs ioctl command to the
    newer ZFS 0.7.0 ioctl command layout.

 -- Colin Ian King <colin.king@canonical.com>  Mon, 19 Feb 2017 13:04:11 +0100

zfs-linux (0.6.5.6-0ubuntu18) xenial; urgency=medium

  * Improve cloning performance for large numbers of clones (LP: #1567557)
    Bump zcmd buffer from 16K to 256K.
  * Correctly install libraries such as libnvpair.so.1 to  /lib and not /usr/lib,
    this also fixes boot issues (LP: #1596835)

 -- Colin Ian King <colin.king@canonical.com>  Fri, 11 Aug 2017 08:33:23 +0100

zfs-linux (0.6.5.6-0ubuntu17) xenial; urgency=medium

  * Fix incorrect path to rm in zfs-share.service.in (LP: #1684731)
  * Set zfs-share.service to Wants in zfs.target (LP: #1614789)
    - Change from Requires to Wants to stop systemctl mask
      zfs-share.service from breaking zfs mounts

 -- Colin Ian King <colin.king@canonical.com>  Mon, 22 May 2017 17:13:44 +0100

zfs-linux (0.6.5.6-0ubuntu16) xenial; urgency=medium

  * Enable zfs to respect RSIZE_LIMIT limits (LP: #1656259)
    - backport of zfs upstream commit 4b908d32200b6e5c7b5115322b6c8d25e770daa0
      ("Linux 4.8 compat: posix_acl_valid()") to facilitate changes in posix_acl_valid.
      1015-Linux-4.8-compat-posix_acl_valid.patch
    - backport of upstream commit 933ec999511f3d29de005bfa8966ae007b161c0f
      ("Retire .write/.read file operations")
      1016-Retire-.write-.read-file-operations.patch

 -- Colin Ian King <colin.king@canonical.com>  Fri, 17 Feb 2017 11:00:12 +0000

zfs-linux (0.6.5.6-0ubuntu15) xenial; urgency=medium

  * Fix zpool import with vdev on zvol hang (LP: #1636517)
    Xenial kernel commit 193fb6a2c94fab8eb8ce70a5da4d21c7d4023bee
    ("block_dev: Support checking inode permissions in lookup_bdev()")
    added a flags argument to block_dev which caused this breakage. Add
    detection of 1 or 2 arg block_dev and add a zfs_block_dev shim to
    abstract these differences away. Kudos to Fabian Grünbichler for
    the original fix that this fix is based on.

 -- Colin Ian King <colin.king@canonical.com>  Tue, 25 Oct 2016 16:58:11 +0100

zfs-linux (0.6.5.6-0ubuntu14) xenial; urgency=medium

  * Fix zfs services to fail on first boot due to zfs services starting up
    before /etc/mtab has a chance to be symlinked to /proc/mounts. (LP: #1607920)
    (upstream commit 792517389fad5c495a2738b61c2e9c65dedaaa9a)

  * Symlink utilities in /usr/sbin to remove suffix as per policy 10.4 Scripts  (LP: #1628279)
    Users can rely on the new names, but relying on the old names won't break before
    release upgrade.

 -- Eric Desrochers <eric.desrochers@canonical.com>  Tue, 04 Oct 2016 15:07:52 +0200

zfs-linux (0.6.5.6-0ubuntu13) xenial; urgency=medium

  * Use python3 for arcstat.py, arc_summary.py & dbufstat.py (LP: #1627909)
    - update dependency to python3 and set paths to use python3

 -- Colin Ian King <colin.king@canonical.com>  Tue, 26 Sep 2016 07:35:44 -0500

zfs-linux (0.6.5.6-0ubuntu12) xenial; urgency=medium

  * Change to include some important tools in zfsutils-linux build.  
  - Add tools : arcstat.py, arc_summary.py & dbufstat.py in /usr/sbin.
  - Change utilities path (bindir) to /usr/sbin per
    https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1574342/comments/6
  - Add python related dependencies (LP: #1574342) 

 -- Eric Desrochers <eric.desrochers@canonical.com>  Thu, 28 Jul 2016 16:18:16 -0400

zfs-linux (0.6.5.6-0ubuntu11) xenial; urgency=medium

  [ Richard Laager ]
  * Set PATH in cron.d job to fix monthly scrubs. (LP: #1548009)

 -- Michael Terry <mterry@ubuntu.com>  Thu, 28 Jul 2016 10:18:25 -0400

zfs-linux (0.6.5.6-0ubuntu10) xenial; urgency=medium

  * Sync with relevant upstream fixes (LP: #1594871)
   - Fix user namespaces uid/gid mapping 
     As described in torvalds/linux@5f3a4a2 the &init_user_ns, and
     not the current user_ns, should be passed to posix_acl_from_xattr()
     and posix_acl_to_xattr().  Conveniently the init_user_ns is
     available through the init credential (kcred).
     (upstream commit 874bd959f4f15b3d4b007160ee7ad3f4111dd341)
     ZFS #4177
   - Fix ZPL miswrite of default POSIX ACL
     Commit 4967a3e introduced a typo that caused the ZPL to store the
     intended default ACL as an access ACL. Due to caching this problem
     may not become visible until the filesystem is remounted or the inode
     is evicted from the cache. Fix the typo.
     (upstream commit 98f03691a4c08f38ca4538c468e9523f8e6b24be)
     ZFS #4520
   - Create unique partition labels
     When partitioning a device a name may be specified for each partition.
     Internally zfs doesn't use this partition name for anything so it
     has always just been set to "zfs".
     However this isn't optimal because udev will create symlinks using
     this name in /dev/disk/by-partlabel/.  If the name isn't unique
     then all the links cannot be created.
     Therefore a random 64-bit value has been added to the partition
     label, i.e "zfs-1234567890abcdef".  Additional information could
     be encoded here but since partitions may be reused that might
     result in confusion and it was decided against.
     (upstream commit fbffa53a5cdb9b796de5afc9be8c1f79619253d4)
     ZFS #4517
   - Fix inverted logic on none elevator comparison
     Commit d1d7e2689db9e03f1 ("cstyle: Resolve C style issues") inverted
     the logic on the none elevator comparison.  Fix this and make it
     cstyle warning clean.
     (upstream commit 60a4ea3f948f1596b92b666fc7dd21202544edbb)
     ZFS #4507
   - Remove wrong ASSERT in annotate_ecksum
     When using large blocks like 1M, there will be more than UINT16_MAX
     qwords in one block, so this ASSERT would go off. Also, it is possible
     for the histogram to overflow. We cap them to UINT16_MAX to prevent this.
     (upstream commit 21ea9460fa880bb072a9ca9d845aef740f9d3af6)
     ZFS #4257
   - Fix 'zpool import' blkid device names
     When importing a pool using the blkid cache only the device
     node path was added to the list of known paths for a device.
     This results in 'zpool import' always using the sdX names
     in preference to the 'path' name stored in the label.
     To fix the issue the blkid import path has been updated to
     add both the 'path', 'devid', and 'devname' names from the
     label to the known paths.  A sanity check is done to ensure
     these paths do refer to the same device identified by blkid.
     (upstream commit c9ca152fd1de1b0fd959e772b9a25d14a891952b)
     ZFS #4523, #3043
   - Use udev for partition detection
     When ZFS partitions a block device it must wait for udev to create
     both a device node and all the device symlinks.  This process takes
     a variable length of time and depends on factors such how many links
     must be created, the complexity of the rules, etc.  Complicating
     the situation further it is not uncommon for udev to create and
     then remove a link multiple times while processing the udev rules.
     In order to address this the zpool_label_disk_wait() function
     has been updated to use libudev.  Until the registered system
     device acknowledges that it in fully initialized the function
     will wait.  Once fully initialized all device links are checked
     and allowed to settle for 50ms.  This makes it far more likely
     that all the device nodes will exist when the kernel modules
     need to open them.
     For systems without libudev an alternate zpool_label_disk_wait()
     was updated to include a settle time.  In addition, the kernel
     modules were updated to include retry logic for this ENOENT case.
     Due to the improved checks in the utilities it is unlikely this
     logic will be invoked.  However, if the rare event it is needed
     it will prevent a failure.
     (upstream commit 2cb77346cb698ae0c233c7baf8b4c787205b54e9)
     ZFS #4523, #3708, #4077, #4144, #4214, #4517 
   * Fix ztest truncated cache file (LP: #1587686)
     Commit efc412b updated spa_config_write() for Linux 4.2 kernels to
     truncate and overwrite rather than rename the cache file.  This is
     the correct fix but it should have only been applied for the kernel
     build.  In user space rename(2) is needed because ztest depends on
     the cache file.
     (upstream commit 151f84e2c32f690b92c424d8c55d2dfccaa76e51)
     ZFS #4129
  
 -- Colin Ian King <colin.king@canonical.com>  Tue, 21 Jun 2016 15:49:12 +0100

zfs-linux (0.6.5.6-0ubuntu9) xenial; urgency=medium

  * Minor changes to satisfy MIR request (LP: #1579082)
    [ Richard Laager ]
    - zfs-zed: Version "Replaces: zfsutils-linux" and add versioned
     "Breaks: zfsutils-linux"
    - explicitly specify the man pages so we don't include zed.8
    [ Colin Ian King ]
    - remove root ALL=(ALL) ALL and R_ROOT from
      debian/tree/zfsutils-linux/etc/sudoers.d/zfs. The R_ROOT serves
      no useful purpose, complicates people actually using the sudoers
      file, and pollutes the global namespace
    - add init.d linitan overrides for zfsutils-linux and zfs-zed
      as initscripts will never be used and we will rebase with the
      Debian package initscripts once the package gets accepted by Debian

 -- Colin Ian King <colin.king@canonical.com>  Wed, 11 May 2016 19:40:11 +0100

zfs-linux (0.6.5.6-0ubuntu8) xenial; urgency=medium

  [ Richard Laager ]
  * zfs-initramfs: Set elevator=noop on disks used by the root pool.
    (LP: #1550301)

 -- Colin Ian King <colin.king@canonical.com>  Wed, 13 Apr 2016 11:44:39 +0100

zfs-linux (0.6.5.6-0ubuntu7) xenial; urgency=medium

  * Libraries should not be in /lib, but in /usr/lib (LP: #1569359)

 -- Colin Ian King <colin.king@canonical.com>  Tue, 12 Apr 2016 12:54:17 +0100

zfs-linux (0.6.5.6-0ubuntu6) xenial; urgency=medium

  * Remove adm, admin, staff groups from /etc/sudoers.d/zfs
    (LP: #1532198)

 -- Colin Ian King <colin.king@canonical.com>  Fri, 8 Apr 2016 15:16:39 +0100

zfs-linux (0.6.5.6-0ubuntu5) xenial; urgency=medium

  * Only enable testing on 64 bit arches as these are the ones that ZFS
    officially supports.

 -- Colin Ian King <colin.king@canonical.com>  Tue, 5 Apr 2016 09:37:37 +0100

zfs-linux (0.6.5.6-0ubuntu4) xenial; urgency=medium

  * Drop mail-transport-agent to Suggests, and add default-mta preference.

 -- Colin Ian King <colin.king@canonical.com>  Fri, 1 Apr 2016 19:18:11 +0100

zfs-linux (0.6.5.6-0ubuntu3) xenial; urgency=medium

  * Add support 32 bit FS_IOC32_{GET|SET}FLAGS compat ioctls

 -- Colin Ian King <colin.king@canonical.com>  Wed, 30 Mar 2016 23:08:24 +0000

zfs-linux (0.6.5.6-0ubuntu2) xenial; urgency=medium

  * Fix aarch64 compilation, missing hrtime_t and timestruc_t types

 -- Colin Ian King <colin.king@canonical.com>  Sat, 26 Mar 2016 10:30:41 +0000

zfs-linux (0.6.5.6-0ubuntu1) xenial; urgency=medium

  [ Colin Ian King ]
  * Sync with upstream 0.6.5.6 release
    Remove scripts/zfault.sh from debian/zfs-doc.examples (no longer exists)
    Add libblkid-dev, libattr1-dev build dependencies

  [ Richard Laager ]
  * Scrub all healthy pools monthly (LP: #1548009)

 -- Colin Ian King <colin.king@canonical.com>  Wed, 23 Mar 2016 23:59:33 +0000

zfs-linux (0.6.5.5-0ubuntu1) xenial; urgency=medium

  [ Colin Ian King ]
  * Sync with upstream 0.6.5.5 release

  [ Chad Miller ]
  * Update /lib/udev/rules.d/60-zfs.rules to create symlinks for GRUB
    (LP: #1530953) for cases when the parition type ID is not a "Solaris ZFS"
    /"Apple ZFS" type. Peek at the asserted partition contents, not just the
    container state.

 -- Colin Ian King <colin.king@canonical.com>  Mon, 21 Mar 2016 10:27:11 +0000

zfs-linux (0.6.5.4-0ubuntu6) xenial; urgency=medium

  * cherry-pick 8e85373c1ded7866ae168dde3bd640769c093172 from
    https://github.com/zfsonlinux/zfs/pull/4425.
  * Set architecture to any.

 -- Dimitri John Ledkov <xnox@ubuntu.com>  Wed, 16 Mar 2016 23:09:55 +0000

zfs-linux (0.6.5.4-0ubuntu5) xenial; urgency=medium

  * cherry-picked c352ec27d5c5ecea8f6af066258dfd106085eaac ('Illumos 6370 -
    ZFS send fails to transmit some holes')
    (LP: #1557151)

 -- Tim Gardner <tim.gardner@canonical.com>  Mon, 14 Mar 2016 16:42:44 -0600

zfs-linux (0.6.5.4-0ubuntu4) xenial; urgency=medium

  [ Richard Laager ]
  * Make zed work out-of-the box (LP: #1542276)
    - zfs-zed: Install zed-functions.sh so scriptlets work
    - zfs-zed: Enable most scriptlets on a fresh install.
    - zfs-zed: Email root by default.

 -- Colin Ian King <colin.king@canonical.com>  Wed, 24 Feb 2016 04:49:35 +0000

zfs-linux (0.6.5.4-0ubuntu3) xenial; urgency=medium

  * zfsutils-linux should Recommend zfs-zed (LP: #1547549)

 -- Colin Ian King <colin.king@canonical.com>  Fri, 19 Feb 2016 15:23:11 +0000

zfs-linux (0.6.5.4-0ubuntu2) xenial; urgency=medium

  [ Colin Ian King ]
  * Start ZFS post install with dh_systemd_start (LP: #1542276)
  * Fix perms on initramfs-tools/hooks if they exist
  * install bash completions to usr/share/bash-completion/completions
  * debian/control: add in Homepage field

  [ Richard Laager ]
  * Add /lib/udev/rules.d/60-zfs.rules to create symlinks for GRUB (LP: #1530953)
  * debian/control: Remove incorrect Vcs-Git and Vcs-Browser
  * zfs-initramfs: Re-architect initramfs script
    - Require root=ZFS= syntax.  rpool= and bootfs= are no longer supported.
    - Honor Debian standard rootdelay= kernel command-line option instead of
      ZFS_INITRD_PRE_MOUNTROOT_SLEEP.
    - Use standard panic function, which honors the Debian standard panic=
      kernel command-line option.
    - Stop force importing the pool.
    - Add debian/zfs-initramfs.postinst to apply udev rules without a reboot
    - Update 60-zpool.rules to match on partition type to trigger on the 
      initial pool creation.

 -- Colin Ian King <colin.king@canonical.com>  Tue, 9 Feb 2016 09:14:44 +0000

zfs-linux (0.6.5.4-0ubuntu1) xenial; urgency=medium

  * Sync with upstream 0.6.5.4 release

 -- Colin Ian King <colin.king@canonical.com>  Fri, 29 Jan 2016 11:48:00 +0000

zfs-linux (0.6.5.3-0ubuntu6) xenial; urgency=medium

  * zfs-initramfs: Support GRUB's native root=ZFS= (LP: #1530953)
    - from https://github.com/zfsonlinux/pkg-zfs/pull/140 (Richard Laager)
  * debian/control: Add missing "Provides: zfs" (LP: #1535428)

 -- Colin Ian King <colin.king@canonical.com>  Thu, 21 Jan 2016 11:09:01 +0000

zfs-linux (0.6.5.3-0ubuntu5) xenial; urgency=medium

  * Add adt smoke tests checking basic core ZFS functionality

 -- Colin Ian King <colin.king@canonical.com>  Mon, 11 Jan 2016 16:25:00 +0000

zfs-linux (0.6.5.3-0ubuntu4) xenial; urgency=medium

  * Add dependency on dh-systemd for zfs-linux (LP: #1521952)
   - Add installinit rules for zed, zfs, mounting and import cache/scan
   - Copy zfs.target to /lib/systemd/system
   - Add bash completion rules
   - Add zed systemd service control
   - Add zfs shared systemd service control
   - Add zfs mount systemd service control
   - Add zfs import scan systemd service control
   - Add zfs import cache systemd service control

 -- Colin Ian King <colin.king@canonical.com>  Wed, 2 Dec 2015 16:50:00 +0000

zfs-linux (0.6.5.3-0ubuntu3) xenial; urgency=medium

  * Build for powerpc64-smp

 -- Tim Gardner <tim.gardner@canonical.com>  Fri, 06 Nov 2015 14:20:13 -0700

zfs-linux (0.6.5.3-0ubuntu2) xenial; urgency=medium

  * Dropped autogen output from orig tarball.
  * update debian/gbp.conf from wily to xenial

 -- Tim Gardner <tim.gardner@canonical.com>  Tue, 27 Oct 2015 18:16:11 +0000

zfs-linux (0.6.5.3-0ubuntu1) xenial; urgency=medium

  * Updated to zfs-0.6.5.3 from https://github.com/zfsonlinux/zfs.git
  * Dropped:
     Linux 4.2 compat: bdi_setup_and_register()
     Linux 4.2 compat: remove bio->bi_cnt access
     Linux 4.2 compat: follow_link() / put_link()

 -- Tim Gardner <tim.gardner@canonical.com>  Tue, 27 Oct 2015 10:50:44 -0600

zfs-linux (0.6.4.2-0ubuntu2~apw8) wily; urgency=medium

  * ppc64el: drop endian override in powerpc architecture definition
    allowing both big and little endian builds.
  * zfs-initramfs -- this is only build on the indep architecture so only
    attempt to chmod the hook files if they are present.
  * arm64: reorder sys/types.h sys/param.h includes to avoid include ordering
    issues on arm64.

 -- Andy Whitcroft <apw@ubuntu.com>  Fri, 16 Oct 2015 13:57:18 +0100

zfs-linux (0.6.4.2-0ubuntu1) wily; urgency=medium

  [ Colin Ian King ]
  * Linux 4.2 compat: bdi_setup_and_register()
  * Linux 4.2 compat: remove bio->bi_cnt access
  * Linux 4.2 compat: follow_link() / put_link()
  * update debian/gbp.conf from vivid to wily
  * update Standards-Version to 3.9.6
  * fix dep5-copyright-license-name-not-unique warning
  * prepared for Ubuntu Wily upload

  [ Iain Lane ]
  * Drop the upstart integration; this was causing various lintian errors and
    required some fixing up - we use systemd in wily anyway.
  * Copy the debian/copyright file as it is slightly more correct.
  * Install the bash-completion files in the (new) correct directory.
  * Don't handle upgrades from non-archive packages.
  * Add Depends from the -dev package to all libraries which we ship .so files
    for.
  * Don't ship .la files.
  * Make some packages Architecture: all where they don't ship architecture
    dependent files.

 -- Colin Ian King <colin.king@canonical.com>  Wed, 14 Oct 2015 15:46:29 +0100

zfs-linux (0.6.4.2-0~vivid) vivid; urgency=low

  [ Brian Behlendorf ]
  * Wait in libzfs_init() for the /dev/zfs device
  * Use ExecStartPre to load zfs modules
  * Wait interruptibly in prefetch thread

  [ Tim Chase ]
  * Linux 3.12 compat: NUMA-aware per-superblock shrinker

  [ Matus Kral ]
  * Linux 4.1 compat: use read_iter() / write_iter()

  [ Brian Behlendorf ]
  * Add zfs_sb_prune_aliases() function

  [ Chris Dunlop ]
  * Wait for all znodes to be released before tearing down the superblock

  [ tuxoko ]
  * Add cond_resched to zfs_zget to prevent infinite loop

  [ Ned Bass ]
  * Serialize access to spa->spa_feat_stats nvlist
  * Tag zfs-0.6.4.2

  [ Darik Horn ]
  * Refresh debian/patches after upstream merge.

 -- Darik Horn <dajhorn@vanadac.com>  Thu, 09 Jul 2015 22:42:29 -0400

zfs-linux (0.6.4.1-1~vivid) vivid; urgency=low

  [ Tim Chase ]
  * Allocate zfs_znode_cache on the Linux slab

  [ Brian Behlendorf ]
  * Mark additional functions as PF_FSTRANS

  [ Chris Dunlap ]
  * Fix io-spare.sh to work with disk vdevs

  [ Brian Behlendorf ]
  * Extend PF_FSTRANS critical regions
  * Tag zfs-0.6.4.1

 -- Darik Horn <dajhorn@vanadac.com>  Fri, 24 Apr 2015 16:42:15 -0500

zfs-linux (0.6.4-3~vivid) vivid; urgency=low

  [ SenH ]
  * Fix man zpool property feature_guid

  [ Turbo Fredriksson ]
  * Add information about the -o option to zpool replace

  [ Brian Behlendorf ]
  * Improve differing sector size error

  [ Tim Chase ]
  * Comment the lack of real_LZ4_uncompress()

  [ Dan McDonald ]
  * Illumos #4936 fix potential overflow in lz4

  [ Tim Chase ]
  * Return default value on numeric properties failing the "head check.
  * Document the optional "device" argument for "zpool split"

  [ Garrison Jensen ]
  * Fix comment spelling errors.

  [ Andrew Barnes ]
  * Preserve asize when last mirror child promoted to top-level vdev

  [ Matthew Ahrens ]
  * Illumos #3641 compressed block histograms with zdb

  [ Tim Chase ]
  * Convert zfs_mg_noalloc_threshold to a module parameter and document

  [ George Wilson ]
  * Illumos 4168, 4169, 4170: ztest, zdb and zhack fixes

  [ Richard Yao ]
  * zdb: Introduce -V for verbatim import

  [ Brian Behlendorf ]
  * Fix zil_commit() NULL dereference

  [ Prakash Surya ]
  * Move metaslab_group_alloc_update() call

  [ George Wilson ]
  * Illumos #4101, #4102, #4103, #4105, #4106
  * Illumos #4730 destroy metaslab group taskq
  * Illumos #4756 Fix metaslab_group_preload deadlock

  [ Brian Behlendorf ]
  * zfs_trunc() should use dmu_tx_assign(tx, TXG_WAIT)

  [ Jan Engelhardt ]
  * Do not attempt access beyond the declared end of the dn_blkptr array

  [ Brian Behlendorf ]
  * Revert "Disable GCCs aggressive loop optimization"
  * zpool-create.sh: allow features to be disabled

  [ Turbo Fredriksson ]
  * Initial attempt to document events and payloads.
  * Support '-H' (scripted mode) to 'zpool get' (Closes: #2522)

  [ Brian Behlendorf ]
  * Remove patches directory

  [ Matthew Ahrens ]
  * Illumos 4171, 4172

  [ Max Grossman ]
  * Illumos 4370, 4371

  [ Matthew Ahrens ]
  * Illumos 4368, 4369.
  * Illumos #4374

  [ George Wilson ]
  * Illumos 4754, 4755

  [ Tim Chase ]
  * zed needs libzfs_core

  [ Matthew Ahrens ]
  * Illumos 3835 zfs need not store 2 copies of all metadata
  * Illumos 4757, 4913
  * Illumos 4390 - I/O errors can corrupt space map when deleting fs/vol

  [ Saso Kiselkov ]
  * Illumos 4897 - Space accounting mismatch in L2ARC/zpool

  [ Matthew Ahrens ]
  * Illumos 4881 - zfs send performance regression with embedded data
  * Illumos 4914 - zfs on-disk bookmark structure should be named *_phys_t

  [ Turbo Fredriksson ]
  * Add bash completions by Aneurin Price.

  [ Brian Behlendorf ]
  * Use KM_PUSHPAGE in dsl_dataset_rollback_check()
  * Avoid dynamic allocation of 'search zio'
  * Avoid 128K kmem allocations in mzap_upgrade()
  * Add zfs_iput_async() interface
  * Revert "Revert "Revert "Fix unlink/xattr deadlock"""

  [ Alec Salazar ]
  * Replace __va_list with va_list
  * Avoid PAGESIZE redefinition

  [ Evan Susarret ]
  * Correct autodetection of bootfs property

  [ Richard Yao ]
  * Include sys/taskq.h in linux/vfs_compat.h

  [ Turbo Fredriksson ]
  * Create an 'overlay' property (Closes: #2503)

  [ George Wilson ]
  * Illumos 4976-4984 - metaslab improvements

  [ Tim Chase ]
  * Don't upgrade a metaslab when the pool is not writable

  [ Richard Yao ]
  * Drive database update

  [ Matthew Ahrens ]
  * Illumos 4631 - zvol_get_stats triggering too many reads

  [ Isaac Huang ]
  * Fixed memory leaks in zevent handling

  [ Andrew Hamilton ]
  * 2493 change efi_rescan() to wait longer

  [ Matthew Ahrens ]
  * Illumos 5034 - ARC's buf_hash_table is too small
  * Illumos 4970-4974 - extreme rewind enhancements

  [ Brian Behlendorf ]
  * Retire HAVE_IOCTL_* configure checks

  [ Turbo Fredriksson ]
  * Add a pkgconfig file (Closes: #585)

  [ Brian Behlendorf ]
  * Add a missing > to AUTHORS

  [ Chris Dunlap ]
  * Fix race condition with zed pidfile creation
  * Cleanup zed logging

  [ Ralf Ertzinger ]
  * Change startup mode of ZED

  [ louwrentius ]
  * Change delimiter for ZED email scripts

  [ Dan Swartzendruber ]
  * Improve handling of filesystem versions (Closes: #2616)

  [ Alexey Smirnoff ]
  * Change the default 'zfs_dedup_prefetch' value to '0'

  [ alteriks ]
  * Import zfs pools after cryptsetup

  [ Stanislav Seletskiy ]
  * Fix invalid locking order in rename operation

  [ Alex Reece ]
  * Illumos 5049 - panic when removing log device

  [ ilovezfs ]
  * Fragmentation should display as '-' if spacemap_histogram=disabled

  [ Richard Yao ]
  * Linux AIO Support

  [ Brian Behlendorf ]
  * Add object type checking to zap_lockdir()

  [ George Wilson ]
  * Illumos 5117 - spacemap reallocation can cause corruption

  [ Tim Chase ]
  * Implement fallocate FALLOC_FL_PUNCH_HOLE
  * Document the "readonly" pool property

  [ Brian Behlendorf ]
  * Fix z_teardown_inactive_lock deadlock

  [ Turbo Fredriksson ]
  * Document environment variables for zdb, zfs, zinject and zpool.

  [ Matthew Ahrens ]
  * Illumos 5140 - message about "%recv could not be opened" is printed when booting after crash

  [ Chris Dunlap ]
  * Remove reverse indentation from zed comments.

  [ Ned Bass ]
  * Remove obsolete comment about guard pages

  [ Adam Leventhal ]
  * Illumos 5174 - add sdt probe for blocked read in dbuf_read()

  [ Matthew Ahrens ]
  * Illumos 5177 - remove dead code from dsl_scan.c
  * Illumos 5161 - add tunable for number of metaslabs per vdev

  [ George Wilson ]
  * Illumos 5147 - zpool list -v should show individual disk capacity

  [ Richard Yao ]
  * Properly NULL terminate string in zfs_strcmp_pathname
  * Fix function call with uninitialized value in vdev_inuse
  * lib/libzpool/kernel.c: Assert no owners in rw_destroy()

  [ Matthew Ahrens ]
  * Illumos 5139 - SEEK_HOLE failed to report a hole at end of file
  * Illumos 5135 - zpool_find_import_cached() can use fnvlist_*
  * Illumos 5116 - zpool history -i goes into infinite loop

  [ Alex Reece ]
  * Illumos 4753 - increase number of outstanding async writes when sync task is waiting

  [ Max Grossman ]
  * Illumos 5138 - add tunable for maximum number of blocks freed in one txg

  [ Chris Dunlap ]
  * Fix zed io-spare.sh dash incompatibility
  * Replace zed's use of malloc with calloc
  * Refer to ZED's scripts as ZEDLETs

  [ Tim Chase ]
  * Perform whole-page page truncation for hole-punching under a range lock

  [ Brian Behlendorf ]
  * Make user stack limit configurable

  [ Richard Yao ]
  * Add add_prop_list_default helper
  * zpool import -t should not update cachefile
  * Implement -t option to zpool create for temporary pool names

  [ smh ]
  * FreeBSD PR kern/172259: Fixes zfs receive errors

  [ Andriy Gapon ]
  * zfs send -p send properties only for snapshots that are actually sent

  [ Chris Dunlap ]
  * Obtain advisory lock on ZED PID file
  * Cleanup struct zed_conf vars in zed_conf_destroy

  [ Lukas Wunner ]
  * Amend Dracut module to export ZFS root on shutdown

  [ Matthew Ahrens ]
  * Illumos 5176 - lock contention on godfather zio

  [ Turbo Fredriksson ]
  * Add an example for 'zfs bookmark' to the Example section.

  [ Brian Behlendorf ]
  * Fix CPU_SEQID use in preemptible context
  * Improve VERIFY() error in dmu_write()

  [ Turbo Fredriksson ]
  * Add a stern warning about dedup

  [ Tom Prince ]
  * Install header during post-build rather than post-install.
  * Point dkms build at installed source tree, rather than build directory.

  [ Brian Behlendorf ]
  * Fix source_tree variable in dkms build

  [ Ned Bass ]
  * ztest: print backtrace on SIGSEGV and SIGABRT

  [ Brian Behlendorf ]
  * Make license compatibility checks consistent
  * Update code to use misc_register()/misc_deregister()
  * Remove shrink_dcache_memory() and shrink_icache_memory()
  * Update utsname support
  * Handle NULL mirror child vdev

  [ Darik Horn ]
  * Let `zpool import` ignore a missing hostid record.

  [ Brian Behlendorf ]
  * Suppress AIO kmem warnings

  [ Daniil Lunev ]
  * Illumos 4924 - LZ4 Compression for metadata

  [ Tim Chase ]
  * Don't perform ACL-to-mode translation on empty ACL

  [ Matthew Ahrens ]
  * Illumos 3693 - restore_object uses at least two transactions to restore an object
  * Illumos 5150 - zfs clone of a defer_destroy snapshot causes strangeness
  * Illumos 5162 - zfs recv should use loaned arc buffer to avoid copy

  [ Ned Bass ]
  * Remove checks for mandatory locks

  [ Brian Behlendorf ]
  * Handle block pointers with a corrupt logical size

  [ ilovezfs ]
  * Fix zpool create -t ENOENT bug.

  [ Matthew Ahrens ]
  * Illumos 5178 - zdb -vvvvv on old-format pool fails in dump_deadlist()
  * Illumos 5169-5171 - zdb fixes

  [ Brian Behlendorf ]
  * Fix zdb segfault

  [ Alex Reece ]
  * Illumos 4958 zdb trips assert on pools with ashift >= 0xe

  [ Matthew Ahrens ]
  * Illumos 5164-5165 - space map fixes

  [ Tim Chase ]
  * Linux 3.12 compat: shrinker semantics

  [ Richard Yao ]
  * Kernel header installation should respect --prefix
  * Search /usr/local/src for SPL Object Directory
  * Make directory into which mount.zfs is installed configurable
  * Make systemd-modules-load.service file directory configurable

  [ Alexander Pyhalov ]
  * Fix modules installation directory

  [ Marcel Wysocki ]
  * Add config/compile to config/.gitignore

  [ Dan Swartzendruber ]
  * Improve zvol symlink handling.

  [ Alex Zhuravlev ]
  * Export symbols for ZIL interface

  [ Chris Wedgwood ]
  * Reduce buf/dbuf mutex contention

  [ Isaac Huang ]
  * Fix inaccurate field descriptions
  * Print header properly when terminal resizes

  [ Prakash Surya ]
  * Illumos 5213 - panic in metaslab_init due to space_map_open returning ENXIO

  [ Randall Mason ]
  * Fix small spelling mistake

  [ Ned Bass ]
  * Move a few internal ARC strucutres to arc_impl.h
  * Fix dprintf format specifiers
  * cstyle: allow right paren on its own line

  [ Prakash Surya ]
  * Swap DTRACE_PROBE* with Linux tracepoints

  [ Tim Chase ]
  * Undirty freed spill blocks.

  [ smh ]
  * Prevent ZFS leaking pool free space

  [ Ned Bass ]
  * Fix improper null-byte termination handling
  * Explicitly include SPL compat headers

  [ Isaac Huang ]
  * bio_alloc() with __GFP_WAIT never returns NULL

  [ Dan Swartzendruber ]
  * Fix systemd config for zfs-share.service

  [ Brian Behlendorf ]
  * Fix snapshots with dirty inodes

  [ Dan Swartzendruber ]
  * Improve systemd script to not leave stale sharetab

  [ Jacek Fefliński ]
  * zpool upgrade return errors to stderr instead of stdout

  [ Andy Bakun ]
  * Fix typo in %post scriptlet lines

  [ Boris Protopopov ]
  * Correct error returns to unify cross-pool operation error handling

  [ Brian Behlendorf ]
  * Fix cstyle issue from c66989b

  [ Ned Bass ]
  * vdev_id: use mawk-compatible regular expression

  [ Brian Behlendorf ]
  * Fix zfs_putpage() lock inversion

  [ Ned Bass ]
  * Remove duplicate typedefs from trace.h
  * Don't use AC_LANG_SOURCE for conftest.h source
  * Document zfs_flags module parameter

  [ Brian Behlendorf ]
  * Fix zfs_putpage() lock inversion (again)
  * Mark IO pipeline with PF_FSTRANS

  [ Richard Yao ]
  * Use is_vmalloc_addr() in vdev_disk.c

  [ Brian Behlendorf ]
  * Retire KM_NODEBUG
  * Change KM_PUSHPAGE -> KM_SLEEP
  * Add kmem_cache.h include to default context
  * Revert "Pre-allocate vdev I/O buffers"
  * Revert "SA spill block cache"

  [ Tim Chase ]
  * Linux 3.12 compat: split shrinker has s_shrink

  [ Richard Yao ]
  * Use kmem_vasprintf() in log_internal()

  [ Tim Chase ]
  * Fix removal of SA in sa_modify_attrs()

  [ cburroughs ]
  * Add arc_summary.py from FreeNAS
  * Modified arc_summary.py to run on linux

  [ Kyle Blatter ]
  * Refactor arc_summary to simplify -p processing
  * Add a help option with usage information
  * Force all lines to be 80 columns
  * Replace sysctl summary with tunables summary.

  [ Brian Behlendorf ]
  * Make `zpool import -d|-c` behave consistently

  [ Richard Yao ]
  * Use (void) memcpy(), not (void *) memcpy()

  [ Brian Behlendorf ]
  * Add zvol_open() error handling for readonly property
  * Handle closing an unopened ZVOL

  [ Chris Dunlap ]
  * Protect against adding duplicate strings in ZED
  * Cleanup _zed_event_add_nvpair()

  [ Brian Behlendorf ]
  * Use zio buffers in zil_itx_create()

  [ avg ]
  * fix l2arc compression buffers leak

  [ Tim Chase ]
  * Spurious ENOMEM returns when reading dbufs kstat

  [ Chunwei Chen ]
  * Read spl_hostid module parameter before gethostid()
  * Fix build error when make deb

  [ Brian Behlendorf ]
  * Skip evicting dbufs when walking the dbuf hash

  [ Ned Bass ]
  * Fix SA header size accounting

  [ Justin T. Gibbs ]
  * Illumos 5311 - traverse_dnode may report success when it should not

  [ Lukas Wunner ]
  * Fix loop in Dracut shutdown script
  * Fix Dracut scripts to allow for blanks in pool and dataset names

  [ Brian Behlendorf ]
  * Don't read space maps during import for readonly pools

  [ Tim Chase ]
  * Produce a full snapshot list for zfs send -p

  [ Brian Behlendorf ]
  * Revert "Don't read space maps during import for readonly pools"
  * Use vmem_alloc() for nvlists

  [ Jörg Thalheim ]
  * Linux 3.19 compat: file_inode was added

  [ Brian Behlendorf ]
  * Retire zio_bulk_flags
  * Retire zio_cons()/zio_dest()

  [ Andrey Vesnovaty ]
  * Fix readdir for .zfs/snapshot directory

  [ Brian Behlendorf ]
  * Change VERIFY to ASSERT in mutex_destroy()

  [ Tim Chase ]
  * Enhancements to zpool dry run mode.

  [ Sören Tempel ]
  * Use test(1) in a proper way
  * Write directly to $initdir

  [ Brian Behlendorf ]
  * Skip bad DVAs during free by setting zfs_recover=1

  [ Dan Swartzendruber ]
  * Set zfs_autoimport_disable default value to 1

  [ Steffen Müthing ]
  * Add required files to initramfs
  * Fix error in dracut script if not using ZFS root

  [ Brian Behlendorf ]
  * Fix O_APPEND open(2) flag
  * Retire spl_module_init()/spl_module_fini()

  [ Christer Ekholm ]
  * Fix possible future overflow in zfs_nicenum

  [ Tim Chase ]
  * Avoid dladdr() in ztest

  [ Brian Behlendorf ]
  * Prevent "zpool destroy|export" when suspended

  [ Isaac Huang ]
  * Fix deadlock between zpool export and zfs list

  [ Brian Behlendorf ]
  * Use MUTEX_FSTRANS mutex type
  * Linux 4.0 compat: bdi_setup_and_register()
  * Change ASSERT(!"...") to  cmn_err(CE_PANIC, ...)

  [ Turbo Fredriksson ]
  * Install arc_summary.py

  [ Brian Behlendorf ]
  * Replace zfs.redhat.in with zfs.lsb.in init script

  [ Chris Dunlap ]
  * Add ZED to zfs.redhat.in script

  [ Ned Bass ]
  * Use cached feature info in spa_add_feature_stats()

  [ Hajo Möller ]
  * Actually source /etc/sysconfig/zfs instead of /etc/default/zfs

  [ Brian Behlendorf ]
  * Mark zfs_inactive() with PF_FSTRANS

  [ Josef 'Jeff' Sipek ]
  * Illumos 5047 - don't use atomic_*_nv if you discard the return value

  [ Justin T. Gibbs ]
  * Illumos 5630 - stale bonus buffer in recycled dnode_t leads to data corruption

  [ Bill McGonigle ]
  * Linux 4.0 compat: bdi_setup_and_register() __must_check

  [ Hajo Möller ]
  * Fix warning about AM_INIT_AUTOMAKE arguments

  [ Chunwei Chen ]
  * Use MUTEX_FSTRANS on l2arc_buflist_mtx

  [ Turbo Fredriksson ]
  * Move duplicate information about the 'zfs send -e' option.

  [ Richard Yao ]
  * Increase Linux pipe buffer size on 'zfs receive'

  [ Brian Behlendorf ]
  * Fix arc_meta_max accounting
  * Restructure per-filesystem reclaim
  * Fix arc_adjust_meta() behavior

  [ Chris Dunlop ]
  * Reduce size of zfs_sb_t: allocate z_hold_mtx separately

  [ Isaac Huang ]
  * zio_injection_enabled should not be a module option

  [ Gordan Bobic ]
  * Execute udevadm settle before trying to import pools

  [ Tim Chase ]
  * Set the maximum ZVOL transfer size correctly

  [ Ned Bass ]
  * dbuf_free_range() overzealously frees dbufs

  [ Brian Behlendorf ]
  * Check all vdev labels in 'zpool import'
  * Remove rpm/fedora directory
  * Add RHEL style kmod packages

  [ Ned Bass ]
  * Add NULL guard in zfs_zrlock_class event class
  * zpool import should honor overlay property

  [ Prakash Surya ]
  * Illumos 5695 - dmu_sync'ed holes do not retain birth time

  [ Chris Dunlop ]
  * Align code with Illumos

  [ George Wilson ]
  * Illumos 5694 - traverse_prefetcher does not prefetch enough

  [ Matthew Ahrens ]
  * Illumus 5693 - ztest fails in dbuf_verify: buf[i] == 0, due to dedup and bp_override

  [ Brian Behlendorf ]
  * Update zfs_pd_bytes_max default in zfs(8)

  [ Tim Chase ]
  * Mark all ZPL and ioctl functions as PF_FSTRANS

  [ Brian Behlendorf ]
  * Use vmem_alloc() in spa_config_write()
  * Tag zfs-0.6.4

  [ Darik Horn ]
  * Refresh debian/patches after upstream merge.
  * Package zed separately.
  * Prevent driver modprobe in the zed upstart job.

 -- Darik Horn <dajhorn@vanadac.com>  Thu, 09 Apr 2015 13:04:16 -0500

zfs-linux (0.6.3-15~vivid) vivid; urgency=low

  [ Brian Behlendorf ]
  * Tag zfs-0.6.3-1.2

  [ Darik Horn ]
  * Update gbp.conf for Ubuntu 15.04 Vivid Vervet.

 -- Darik Horn <dajhorn@vanadac.com>  Sat, 21 Feb 2015 13:40:18 -0500
