Change logs for zfs-linux source package in Bionic

  • zfs-linux (0.7.5-1ubuntu16.12) bionic; 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 <email address hidden>  Thu, 8 Jul 2021 08:51:21 +0100
  • zfs-linux (0.7.5-1ubuntu16.11) bionic; 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 <email address hidden>  Thu, 25 Feb 2021 17:20:20 +0000
  • zfs-linux (0.7.5-1ubuntu16.10) bionic; urgency=medium
    
      * Fix zfs-dkms build on arm64 with PREEMPTION and BLK_CGROUP (LP: #1892001)
        - 4700-Fix-DKMS-build-on-arm64-with-PREEMPTION-and-BLK_CGRO.patch
          preempt_schedule_notrace is GPL-only so redfine it to preempt_schedule
          on arm64 with PREEMPTION and BLK_CGROUP enabled to 'fix' the DKMS
          build failure.
    
     -- Juerg Haefliger <email address hidden>  Tue, 18 Aug 2020 11:10:41 +0200
  • zfs-linux (0.7.5-1ubuntu16.9) bionic; urgency=medium
    
      * Fix scan rate reporting statistics (LP: #1860182)
        - 3322-add-scrub-compat-fixes.patch
        - 2200-add-zfs-0.6.x-ioctl-compat-shim.patch (refreshed)
        Use the zfs 8.x pool_scan_stat_t extra fields to calculate
        the scan progress when using zfs 8.x kernel drivers. For
        0.7.5 we can pass the larger 8.x port_scan_stat_t to 0.7.5
        zfs w/o problems and ignore these new fields and continue
        to use the 0.7.5 rate calculations.
        Refresh the ioctl compat shim to export the zfs module
        version for the scrub version check.
    
     -- Colin Ian King <email address hidden>  Thu, 27 Feb 2020 17:09:12 +0000
  • zfs-linux (0.7.5-1ubuntu16.8) bionic; urgency=medium
    
      * Backport Linux compat fixes to allow ZFS to build
        on kernels up to 5.3 (LP: #1856704)
        - 3300-Linux-4.16-compat-inode_set_iversion.patch
        - 3301-Linux-4.16-compat-use-correct-_dec_and_test.patch
        - 3302-Linux-4.16-compat-get_disk_and_module.patch
        - 3303-Linux-compat-4.16-blk_queue_flag_-set-clear.patch
        - 3304-Linux-4.18-compat-inode-timespec-timespec64.patch
        - 3305-Linux-4.14-compat-blk_queue_stackable.patch
        - 3306-Linux-4.19-rc3-compat-Remove-refcount_t-compat.patch
        - 3307-Linux-5.0-compat-access_ok-drops-type-parameter.patch
        - 3308-Linux-5.0-compat-Use-totalram_pages.patch
        - 3309-Linux-5.0-compat-Convert-MS_-macros-to-SB_.patch
        - 3310-Linux-5.0-compat-Fix-SUBDIRs.patch
        - 3311-Linux-5.0-compat-Disable-vector-instructions-on-5.0-.patch
        - 3312-Linux-5.0-compat-Fix-bio_set_dev.patch
        - 3313-Linux-5.0-compat-Remove-incorrect-ASSERT.patch
        - 3314-Linux-5.0-compat-Use-totalhigh_pages.patch
        - 3315-Linux-5.0-compat-ASM_BUG-macro.patch
        - 3316-Linux-5.2-compat-rw_tryupgrade.patch
        - 3317-Linux-5.2-compat-Directly-call-wait_on_page_bit.patch
        - 3318-Linux-5.3-compat-Makefile-subdir-m-no-longer-support.patch
        - 3319-Linux-5.3-Fix-switch-fall-though-compiler-errors.patch
        - 3320-zpios-deprecate-current-kernel-time.patch
        - 3321-add-compat-check-disk-size-change.patch
    
     -- Colin Ian King <email address hidden>  Thu, 17 Dec 2019 14:15:16 +0000
  • zfs-linux (0.7.5-1ubuntu16.7) bionic; urgency=medium
    
      * Fix livelock between ZFS evict and writeback threads (LP: #1856084)
        - Upstream ZFS fix 41e1aa2a06f8 ("Break out of zfs_zget early if unlinked
          znode")
        - Upstream ZFS fix 0c46813805f4 ("Check for unlinked znodes after
          igrab()")
    
     -- Heitor Alves de Siqueira <email address hidden>  Thu, 12 Dec 2019 12:51:35 -0300
  • zfs-linux (0.7.5-1ubuntu16.6) bionic; urgency=medium
    
      * Fix hung z_zvol tasks during 'zfs receive' (LP: #1772412)
        - Adds a dedicated, per-pool, prefetch taskq to prevent the traverse
          code from monopolizing the global (and limited) system_taskq by
          inappropriately scheduling long running tasks on it. This fixes
          z_zvol hung tasks.
    
    zfs-linux (0.7.5-1ubuntu16.5) bionic; urgency=medium
    
      * Fix build error with tracepoints enabled (LP: #1828763)
        - In b49151d684f44 (bionic kernel master-next branch) tx_waited has been
          renamed to tx_dirty_delayed, but only in the tracepoint definition (in
          trace_dmu.h) and not in the rest of the code, causing build errors if
          zfs tracepoints are enabled; fix by reverting tx_dirty_delayed back to
          the original name tx_waited.
    
     -- Colin Ian King <email address hidden>  Wed, 29 May 2019 17:24:22 +0100
  • zfs-linux (0.7.5-1ubuntu16.4) bionic; 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 <email address hidden>  Wed, 12 Sep 2018 10:31:47 +0100
  • zfs-linux (0.7.5-1ubuntu16.3) bionic; 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 <email address hidden>  Thu, 12 Jul 2018 09:18:24 +0100
  • zfs-linux (0.7.5-1ubuntu16.2) bionic; 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 <email address hidden>  Thu, 7 Jun 2018 17:25:12 +0100
  • zfs-linux (0.7.5-1ubuntu16.1) bionic; urgency=medium
    
      * Set timeout to zero for zfs list or zpool status
        when running inside a container (LP: #1760173)
    
     -- Colin Ian King <email address hidden>  Thu, 7 Jun 2018 09:55:11 +0100
  • zfs-linux (0.7.5-1ubuntu16) bionic; urgency=medium
    
      * Add back missing zfs-doc package (LP: #1768777)
        - this was accidentally removed from Bionic, restore it
          to keep the doc symlinks sane.
    
     -- Colin Ian King <email address hidden>  Thu, 3 May 2018 16:51:11 +0100
  • zfs-linux (0.7.5-1ubuntu15) bionic; urgency=medium
    
      * Apply and/or backport upstream bugfixes (LP: #1764690)
        - OpenZFS 8373 - TXG_WAIT in ZIL commit path
          Closes zfsonlinux #6403
        - zfs promote|rename .../%recv should be an error
          Closes zfsonlinux #4843, #6339
        - Fix parsable 'zfs get' for compressratios
          Closes zfsonlinux #6436, #6449
        - Fix zpool events scripted mode tab separator
          Closes zfsonlinux #6444, #6445
        - zv_suspend_lock in zvol_open()/zvol_release()
          Closes zfsonlinux #6342
        - Allow longer SPA names in stats, allows bigger pool names
          Closes zfsonlinux #6481
        - vdev_mirror: load balancing fixes
          Closes zfsonlinux #6461
        - Fix zfs_ioc_pool_sync should not use fnvlist
          Closes zfsonlinux #6529
        - OpenZFS 8375 - Kernel memory leak in nvpair code
          Closes zfsonlinux #6578
        - OpenZFS 7261 - nvlist code should enforce name length limit
          Closes zfsonlinux #6579
        - OpenZFS 5778 - nvpair_type_is_array() does not recognize
          DATA_TYPE_INT8_ARRAY
          Closes zfsonlinux #6580
        - dmu_objset: release bonus buffer in failure path
          Closes zfsonlinux #6575
        - Fix false config_cache_write events
          Closes zfsonlinux #6617
        - Fix printk() calls missing log level
          Closes zfsonlinux #6672
        - Fix abdstats kstat on 32-bit systems
          Closes zfsonlinux #6721
        - Relax ASSERT for #6526
          Closes zfsonlinux #6526
        - Fix coverity defects: 147480, 147584 (Logically dead code)
          Closes zfsonlinux #6745
        - Fix coverity defects: CID 161388 (Resource Leak)
          Closes zfsonlinux #6755
        - Use ashift=12 by default on SSDSC2BW48 disks
          Closes zfsonlinux #6774
        - OpenZFS 8558, 8602 - lwp_create() returns EAGAIN
          Closes zfsonlinux #6779
        - ZFS send fails to dump objects larger than 128PiB
          Closes zfsonlinux #6760
        - Sort output of tunables in arc_summary.py
          Closes zfsonlinux #6828
        - Fix data on evict_skips in arc_summary.py
          Closes zfsonlinux #6882, #6883
        - Fix segfault in zpool iostat when adding VDEVs
          Closes zfsonlinux #6748, #6872
        - ZTS: Fix create-o_ashift test case
          Closes zfsonlinux #6924, #6877
        - Handle invalid options in arc_summary
          Closes zfsonlinux #6983
        - Call commit callbacks from the tail of the list
          Closes zfsonlinux #6986
        - Fix 'zpool add' handling of nested interior VDEVs
          Closes zfsonlinux #6678, #6996
        - Fix -fsanitize=address memory leak
          kmem_alloc(0, ...) in userspace returns a leakable pointer.
          Closes zfsonlinux #6941
        - Revert raidz_map and _col structure types
          Closes zfsonlinux #6981, #7023
        - Use zap_count instead of cached z_size for unlink
          Closes zfsonlinux #7019
        - OpenZFS 8897 - zpool online -e fails assertion when run on non-leaf
          vdevs
          Closes zfsonlinux #7030
        - OpenZFS 8898 - creating fs with checksum=skein on the boot pools
          fails ungracefully
          Closes zfsonlinux #7031
        - Emit an error message before MMP suspends pool
          Closes zfsonlinux #7048
        - OpenZFS 8641 - "zpool clear" and "zinject" don't work on "spare"
          or "replacing" vdevs
          Closes zfsonlinux #7060
        - OpenZFS 8835 - Speculative prefetch in ZFS not working for
          misaligned reads
          Closes zfsonlinux #7062
        - OpenZFS 8972 - zfs holds: In scripted mode, do not pad columns with
          spaces
          Closes zfsonlinux #7063
        - Revert "Remove wrong ASSERT in annotate_ecksum"
          Closes zfsonlinux #7079
        - OpenZFS 8731 - ASSERT3U(nui64s, <=, UINT16_MAX) fails for large
          blocks
          Closes zfsonlinux #7079
        - Prevent zdb(8) from occasionally hanging on I/O
          Closes zfsonlinux #6999
        - Fix 'zfs receive -o' when used with '-e|-d'
          Closes zfsonlinux #7088
        - Change movaps to movups in AES-NI code
          Closes zfsonlinux #7065, #7108
        - tx_waited -> tx_dirty_delayed in trace_dmu.h
          Closes zfsonlinux #7096
        - OpenZFS 8966 - Source file zfs_acl.c, function
          Closes zfsonlinux #7141
        - Fix zdb -c traverse stop on damaged objset root
          Closes zfsonlinux #7099
        - Fix zle_decompress out of bound access
          Closes zfsonlinux #7099
        - Fix racy assignment of zcb.zcb_haderrors
          Closes zfsonlinux #7099
        - Fix zdb -R decompression
          Closes zfsonlinux #7099, #4984
        - Fix zdb -E segfault
          Closes zfsonlinux #7099
        - Fix zdb -ed on objset for exported pool
          Closes zfsonlinux #7099, #6464
    
     -- Colin Ian King <email address hidden>  Tue, 17 Apr 2018 10:18:54 +0100
  • zfs-linux (0.7.5-1ubuntu14) bionic; urgency=medium
    
      * Clean up symlink'd /etc/zfs/zed.d/zed-functions.sh (LP: #1757939)
        If an existing zed-functions is a symlink then this needs removing
        as the script in newer ZFS releases is no longer symlink'd and we
        always want to upgrade to the newer updated script.
    
     -- Colin Ian King <email address hidden>  Mon, 9 Apr 2018 13:20:37 +0100
  • zfs-linux (0.7.5-1ubuntu13) bionic; 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 <email address hidden>  Thu, 29 Mar 2018 13:58:22 +0100
  • zfs-linux (0.7.5-1ubuntu12) bionic; 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 <email address hidden>  Wed, 28 Mar 2018 08:56:18 +0100
  • zfs-linux (0.7.5-1ubuntu11) bionic; urgency=medium
    
      * Fix mmap'd libaio read on non-prefaulted page deadlock (LP: #1754584)
        - ensure page is pre-faulted in to avoid deadlock
    
     -- Colin Ian King <email address hidden>  Mon, 26 Mar 2018 09:29:23 +0100
  • zfs-linux (0.7.5-1ubuntu10) bionic; urgency=medium
    
      * debian/control.in: Make zfs-modules | zfs-dkms Suggests for zfs-zed too.
    
     -- Adam Conrad <email address hidden>  Sat, 24 Mar 2018 00:41:39 -0600
  • zfs-linux (0.7.5-1ubuntu9) bionic; urgency=medium
    
      * Move zfs-modules | zfs-dkms to Suggests for zfsutils-linux (LP: #1756116)
        - redo this again, I should have modified ./debian/control.in,
          modules are built-in, so we can make zfs-modules | zfs-dkms as
          a Suggests for zfsutils-linux
    
     -- Colin Ian King <email address hidden>  Fri, 23 Mar 2018 14:28:11 +0000
  • zfs-linux (0.7.5-1ubuntu8) bionic; urgency=medium
    
      * Add ZFS 0.6.x kernel ioctl binary compat shim (LP: #1751796)
        Detect ZFS kernel driver version and copy zfs ioctl command to the
        newer ZFS 0.7.0 ioctl command layout.
    
     -- Colin Ian King <email address hidden>  Thu, 22 Mar 2018 12:00:32 +0000
  • zfs-linux (0.7.5-1ubuntu7) bionic; urgency=medium
    
      * Move zfs-modules | zfs-dkms to Suggests for zfsutils-linux (LP: #1756116)
        - modules are built-in, so we can make zfs-modules | zfs-dkms as
          a Suggests for zfsutils-linux
    
     -- Colin Ian King <email address hidden>  Thu, 15 Mar 2018 15:16:18 +0000
  • zfs-linux (0.7.5-1ubuntu6) bionic; urgency=medium
    
      * Fix ARC hit rate (LP: #1755158)
        - Upstream fix, commit 0873bb6337452e3e028e40f5dad945b30deab185,
          fixes issue that can impact ARC hit rate especially with a
          small ARC
    
     -- Colin Ian King <email address hidden>  Mon, 12 Mar 2018 12:40:22 +0000
  • zfs-linux (0.7.5-1ubuntu5) bionic; urgency=medium
    
      * Fix ZFS setgid broken on 0.7 (LP: #1753288)
        Pull in upstream commit 0e85048f53e4, namely:
        "Take user namespaces into account in policy checks"
        - Change file related checks to use user namespaces and make
          sure involved uids/gids are mappable in the current
          namespace.
    
     -- Colin Ian King <email address hidden>  Thu, 8 Mar 2018 09:10:00 +0000
  • zfs-linux (0.7.5-1ubuntu4) bionic; urgency=medium
    
      * Fix up broken systemd service scripts (LP: #1741081)
        - Remove redundant Requires=zfs-load-module.service from
          zfs-load-module.service and add missing
          After=zfs-load-module.service from zfs-import-cache.service
          and zfs-import-scan.service as suggested by comment #11
          of bug LP1741081 (kudos to Richard Laager for the suggested
          fixes).
      * Fix debian/control XSBC-Original-Maintainer and Maintainer fields
        - ensure the correct email addresses are set
    
     -- Colin Ian King <email address hidden>  Sat, 3 Mar 2018 13:56:11 +0000
  • zfs-linux (0.7.5-1ubuntu3) bionic; urgency=medium
    
      * Add new module loading systemd service (LP: #1741081)
        - loads zfs module unconditionally, and make the
          zfs-import-cache.service and zfs-import-scan.service services
          require this service.
    
     -- Colin Ian King <email address hidden>  Fri, 2 Mar 2018 11:47:12 +0000
  • zfs-linux (0.7.5-1ubuntu2) bionic; urgency=medium
    
      * Bump version and re-upload
    
     -- Colin Ian King <email address hidden>  Fri, 23 Feb 2018 11:15:17 +0000
  • zfs-linux (0.7.5-1ubuntu1) bionic; urgency=medium
    
      * New upstream version 0.7.5 (LP: #1734172)
    
     -- Colin Ian King <email address hidden>  Fri, 26 Jan 2018 14:41:22 +0000
  • zfs-linux (0.7.4-1ubuntu1) bionic; urgency=low
    
      * Merge from Debian unstable.
      * New upstream release.  LP: #1734172, LP: #1706891.
      * Remaining changes:
        - Set Restrictions: isolation-machine in debian/tests/control.  The test
          requires loading kernel modules, so does not work correctly in
          containers.
        - Drop references to zfs-modules | zfs-dkms, as this is built into the
          Ubuntu kernel.  This delta can probably be dropped now that the kernel
          package in the last LTS provides zfs-dkms, since the package
          relationships will then be a no-op.
        - debian/patches/ubuntu-load-zfs-unconditionally.patch
      * Dropped changes, included in Debian:
        - Bump zcmd buffer from 16K to 256K.
      * Dropped changes, included upstream:
        - debian/patches/2001-Linux-4.13-compat-bio-bi_status-and-blk_status_t.patch
        - Add 4.13 backported patches from ZFS
        - Add 4.14 compat workaround to allow ZFS to build with 4.14
    
    zfs-linux (0.7.4-1) unstable; urgency=medium
    
      * New upstream version 0.7.4 (Closes: #884287, #883832)
      * Require debhelper >= 10.2
      * cherry-pick: fix distclean which removes needed files (Closes: #884706)
      * Refresh patches
      * Update stdver to 4.1.2, no change required
      * Install zfs-import.target
    
    zfs-linux (0.7.3-3) unstable; urgency=medium
    
      [ Antonio Russo ]
      * Add maximum version dependency on spl-dkms (Closes: #883008)
    
    zfs-linux (0.7.3-2) unstable; urgency=medium
    
      [ Fabian Grünbichler ]
      * d/rules: remove obsolete calls to dpkg-architecture (Closes: #882209)
      * zfs-test: add proper Breaks+Replaces (Closes: #880902)
      * build: add implicit version to dh_makeshlibs (Closes: #880709)
    
      [ Aron Xu ]
      * Depend on matching version of spl-dkms (Closes: ##881013)
    
    zfs-linux (0.7.3-1) unstable; urgency=medium
    
      [ Antonio Russo ]
      * Refresh manual builds DKMS prevention patch
    
      [ Fabian Grünbichler ]
      * zfs-test package
      * add files to debian/not-installed
      * dh_install: switch to --fail-missing
      * add new files from 0.7 to install
      * dkms: build icp module as well
    
      [ Antonio Russo ]
      * dracut: make module-setup.sh shebang explicit
      * add man page reference to systemd units
      * Fix install path of zpool.d scripts
      * Incorporate DebianPT.org Portuguese translation
      * Fix typo in debconf templates
      * Drop dependency on dh-systemd
    
      [ Aron Xu ]
      * Drop merged patches, update remainders
      * Update std-ver to 4.1.1
      * New upstream version 0.7.3
      * Update debconf pot file
      * Update control.in for dh-systemd deprecation
      * Add lintian override for zfs-test
    
      [ Colin King ]
      * Improve cloning performance for large numbers of clones (LP: #1567557)
        Bump zcmd buffer from 16K to 256K.
    
     -- Steve Langasek <email address hidden>  Thu, 04 Jan 2018 11:47:40 -0800
  • zfs-linux (0.6.5.11-1ubuntu6) bionic; 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 <email address hidden>  Mon, 19 Feb 2017 13:04:11 +0100
  • zfs-linux (0.6.5.11-1ubuntu5) bionic; urgency=medium
    
      * Set Restrictions: isolation-machine in debian/tests/control.  The test
        requires loading kernel modules, so does not work correctly in
        containers.
    
     -- Steve Langasek <email address hidden>  Thu, 16 Nov 2017 14:01:22 -0800
  • zfs-linux (0.6.5.11-1ubuntu4) bionic; urgency=medium
    
      * Add 4.14 compat workaround to allow ZFS to build with 4.14
    
     -- Colin Ian King <email address hidden>  Mon, 6 Nov 2017 17:33:12 +0000
  • zfs-linux (0.6.5.11-1ubuntu3) artful; urgency=medium
    
      * Add 4.13 backported patches from ZFS
    
     -- Colin Ian King <email address hidden>  Wed, 9 Aug 2017 12:57:11 +0100