[pve-devel] [PATCH zfsonlinux 0/6] Update submodules and add 4 patches

Stoiko Ivanov s.ivanov at proxmox.com
Tue Oct 30 11:14:23 CET 2018


Fix #1957
* This patchset mainly addresses a race in ZFS, reported by a user [0].
* While adding this patch, I also updated the submodules to the latest
  versions, and dropped the patches we kept for 0.7.10 and 0.7.11
* Two other issues [1,2] are addressed, where 1 (a performance improvement)
  was a straight-forward cherry-pick and the other (a deadlock fix) needed
  minor backporting (mostly related to the SPL and ZFS repository merge with
  0.8)
* The last patch addresses the missing Breaks/Replaces in the latest
  debian upstream for a file being placed in another package.

[0] https://github.com/zfsonlinux/zfs/pull/8005
[1] https://github.com/zfsonlinux/zfs/pull/8011
[2] https://github.com/zfsonlinux/zfs/pull/7939

Stoiko Ivanov (6):
  rebase SPL on top of debian/0.7.11
  rebase ZFS on top of debian/0.7.11-3
  cherry-pick 2 patches planned for zfs-0.7.12
  Backport deadlock fix for issue ZOL#7939
  fix missing Breaks/Replaces for zfs-initramfs
  bump version to 0.7.11-pve2~bpo1

 Makefile                                           |   4 +-
 spl-changelog.Debian                               |   9 +
 spl-debian                                         |   2 +-
 .../0001-remove-DKMS-and-module-build.patch        |  31 +-
 ...nux-4.18-compat-inode-timespec-timespec64.patch | 178 -----
 ...tween-mm_sem-and-tx-assign-in-zfs_write-a.patch |  42 +
 ...pool-state-proc-entry-SUSPENDED-pools-SPL.patch |  69 --
 ...sem_tryupgrade-for-4.9.20-rt16-kernel-SPL.patch | 136 ----
 spl-patches/0005-Tag-spl-0.7.10.patch              |  59 --
 spl-patches/0006-Linux-4.18-compat-Kconfig.patch   |  57 --
 spl-patches/0007-Tag-spl-0.7.11.patch              |  56 --
 spl-patches/series                                 |   7 +-
 zfs-changelog.Debian                               |  13 +
 zfs-debian                                         |   2 +-
 ...0001-remove-DKMS-modules-and-dracut-build.patch |  77 +-
 ...ort-with-d-dev-disk-by-id-in-scan-service.patch |   4 +-
 .../0003-always-load-ZFS-module-on-boot.patch      |   4 +-
 ...dlock-between-zfs-umount-snapentry_expire.patch |   4 +-
 .../0005-Fix-race-in-dnode_check_slots_free.patch  | 256 ++++++
 ...zv_suspend_lock-in-zvol_open-zvol_release.patch | 124 ---
 ...nux-4.18-compat-inode-timespec-timespec64.patch | 560 -------------
 ...taskq-and-context-switch-cost-of-zio-pipe.patch | 861 ++++++++++++++++++++
 ...-Linux-compat-4.18-check_disk_size_change.patch | 808 -------------------
 ...tween-mm_sem-and-tx-assign-in-zfs_write-a.patch | 376 +++++++++
 ...0008-Add-Breaks-Replaces-to-zfs-initramfs.patch |  43 +
 ...7-ztest-assertion-failure-in-zil_lwb_writ.patch | 368 ---------
 ...09-Fix-divide-by-zero-in-mmp_delay_update.patch |  34 -
 ...-Fix-ENOSPC-in-Handle-zap_add-failures-in.patch | 867 ---------------------
 ...011-Trim-new-line-from-zfs_vdev_scheduler.patch | 155 ----
 ...param-callbacks-check-for-initialized-spa.patch |  84 --
 zfs-patches/0013-Support-Debian-DKMS-builds.patch  |  52 --
 ...ool-reopen-should-detect-expanded-devices.patch | 376 ---------
 ...Add-pool-state-proc-entry-SUSPENDED-pools.patch | 686 ----------------
 ...016-Linux-4.14-compat-blk_queue_stackable.patch | 115 ---
 ...efault-ashift-for-Amazon-EC2-NVMe-devices.patch |  54 --
 ...18-Fix-kernel-unaligned-access-on-sparc64.patch | 123 ---
 zfs-patches/0019-Fix-zpl_mount-deadlock.patch      |  91 ---
 ...6-uts-illumos-rootfs-should-support-salte.patch | 133 ----
 ...-zfs-incremental-send-remove-o-properties.patch | 108 ---
 ...nherited-properties-in-zfs_check_settable.patch |  95 ---
 ...rcstat.py-handling-of-unsupported-options.patch |  33 -
 .../0024-Don-t-modify-argv-in-user-tools.patch     | 123 ---
 ...5-Add-missing-zfs-dracut-RPM-dependencies.patch |  42 -
 .../0026-Add-libaio-devel-BuildRequires.patch      |  31 -
 ...devel-requirement-for-Debian-based-distri.patch |  36 -
 ...8-Fix-misc-bounds-check-compiler-warnings.patch |  61 --
 ...Fix-problems-receiving-reallocated-dnodes.patch | 556 -------------
 ...ix-object-reclaim-when-using-large-dnodes.patch | 134 ----
 ...-zfs-recv-of-non-large_dnode-send-streams.patch | 124 ---
 ...x-build-with-CONFIG_GCC_PLUGIN_RANDSTRUCT.patch |  42 -
 ...33-Correctly-handle-errors-from-kern_path.patch |  35 -
 zfs-patches/0034-Tag-zfs-0.7.10.patch              |  56 --
 ...ool-reopen-should-detect-expanded-devices.patch | 363 ---------
 ...tx_waited-tx_dirty_delayed-in-trace_dmu.h.patch |  60 --
 zfs-patches/0037-Tag-zfs-0.7.11.patch              |  56 --
 zfs-patches/series                                 |  37 +-
 56 files changed, 1670 insertions(+), 7242 deletions(-)
 delete mode 100644 spl-patches/0002-Linux-4.18-compat-inode-timespec-timespec64.patch
 create mode 100644 spl-patches/0002-deadlock-between-mm_sem-and-tx-assign-in-zfs_write-a.patch
 delete mode 100644 spl-patches/0003-Add-pool-state-proc-entry-SUSPENDED-pools-SPL.patch
 delete mode 100644 spl-patches/0004-Add-rwsem_tryupgrade-for-4.9.20-rt16-kernel-SPL.patch
 delete mode 100644 spl-patches/0005-Tag-spl-0.7.10.patch
 delete mode 100644 spl-patches/0006-Linux-4.18-compat-Kconfig.patch
 delete mode 100644 spl-patches/0007-Tag-spl-0.7.11.patch
 create mode 100644 zfs-patches/0005-Fix-race-in-dnode_check_slots_free.patch
 delete mode 100644 zfs-patches/0005-zv_suspend_lock-in-zvol_open-zvol_release.patch
 delete mode 100644 zfs-patches/0006-Linux-4.18-compat-inode-timespec-timespec64.patch
 create mode 100644 zfs-patches/0006-Reduce-taskq-and-context-switch-cost-of-zio-pipe.patch
 delete mode 100644 zfs-patches/0007-Linux-compat-4.18-check_disk_size_change.patch
 create mode 100644 zfs-patches/0007-deadlock-between-mm_sem-and-tx-assign-in-zfs_write-a.patch
 create mode 100644 zfs-patches/0008-Add-Breaks-Replaces-to-zfs-initramfs.patch
 delete mode 100644 zfs-patches/0008-OpenZFS-8997-ztest-assertion-failure-in-zil_lwb_writ.patch
 delete mode 100644 zfs-patches/0009-Fix-divide-by-zero-in-mmp_delay_update.patch
 delete mode 100644 zfs-patches/0010-Fix-ENOSPC-in-Handle-zap_add-failures-in.patch
 delete mode 100644 zfs-patches/0011-Trim-new-line-from-zfs_vdev_scheduler.patch
 delete mode 100644 zfs-patches/0012-module-param-callbacks-check-for-initialized-spa.patch
 delete mode 100644 zfs-patches/0013-Support-Debian-DKMS-builds.patch
 delete mode 100644 zfs-patches/0014-zpool-reopen-should-detect-expanded-devices.patch
 delete mode 100644 zfs-patches/0015-Add-pool-state-proc-entry-SUSPENDED-pools.patch
 delete mode 100644 zfs-patches/0016-Linux-4.14-compat-blk_queue_stackable.patch
 delete mode 100644 zfs-patches/0017-Default-ashift-for-Amazon-EC2-NVMe-devices.patch
 delete mode 100644 zfs-patches/0018-Fix-kernel-unaligned-access-on-sparc64.patch
 delete mode 100644 zfs-patches/0019-Fix-zpl_mount-deadlock.patch
 delete mode 100644 zfs-patches/0020-OpenZFS-8906-uts-illumos-rootfs-should-support-salte.patch
 delete mode 100644 zfs-patches/0021-Fix-zfs-incremental-send-remove-o-properties.patch
 delete mode 100644 zfs-patches/0022-Allow-inherited-properties-in-zfs_check_settable.patch
 delete mode 100644 zfs-patches/0023-Fix-arcstat.py-handling-of-unsupported-options.patch
 delete mode 100644 zfs-patches/0024-Don-t-modify-argv-in-user-tools.patch
 delete mode 100644 zfs-patches/0025-Add-missing-zfs-dracut-RPM-dependencies.patch
 delete mode 100644 zfs-patches/0026-Add-libaio-devel-BuildRequires.patch
 delete mode 100644 zfs-patches/0027-Fix-libaio-devel-requirement-for-Debian-based-distri.patch
 delete mode 100644 zfs-patches/0028-Fedora-28-Fix-misc-bounds-check-compiler-warnings.patch
 delete mode 100644 zfs-patches/0029-Fix-problems-receiving-reallocated-dnodes.patch
 delete mode 100644 zfs-patches/0030-Fix-object-reclaim-when-using-large-dnodes.patch
 delete mode 100644 zfs-patches/0031-Fix-zfs-recv-of-non-large_dnode-send-streams.patch
 delete mode 100644 zfs-patches/0032-Fix-build-with-CONFIG_GCC_PLUGIN_RANDSTRUCT.patch
 delete mode 100644 zfs-patches/0033-Correctly-handle-errors-from-kern_path.patch
 delete mode 100644 zfs-patches/0034-Tag-zfs-0.7.10.patch
 delete mode 100644 zfs-patches/0035-Revert-zpool-reopen-should-detect-expanded-devices.patch
 delete mode 100644 zfs-patches/0036-tx_waited-tx_dirty_delayed-in-trace_dmu.h.patch
 delete mode 100644 zfs-patches/0037-Tag-zfs-0.7.11.patch

-- 
2.11.0





More information about the pve-devel mailing list