File zfs.spec of Package zfs
#
# spec file for package zfs
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# needssslcertforbuild
%global kernel_version %(rpm -q kernel-syms | sed 's/^kernel-syms-//; s/\\.[0-9]\\+\\.%_arch//;')
%global kernel_build %(rpm -q kernel-syms | sed 's/^kernel-syms-[0-9.]\\+-[0-9]\\+.//; s/.%_arch//;')
#%if 0%{?suse_version} > 1600
#%ifarch x86_64
%define kmp_longterm 1
#%endif
#%endif
%define spec_flavor @BUILD_FLAVOR@%nil
Name: zfs
Version: 2.3.4
Release: 1.2
Summary: The ZFS file system and utilities
License: CDDL-1.0 AND GPL-2.0-or-later
Group: System/Filesystems
URL: https://zfsonlinux.org/
#Github-URL: https://github.com/zfsonlinux/zfs
Source: https://github.com/zfsonlinux/zfs/releases/download/%name-%version/%name-%version.tar.gz
Source2: https://github.com/zfsonlinux/zfs/releases/download/%name-%version/%name-%version.tar.gz.asc
Source8: %name.keyring
Source9: %name-preamble
Patch1: kmod.diff
BuildRequires: %kernel_module_package_buildreqs
%if 0%{?kmp_longterm}
BuildRequires: kernel-syms-longterm
%endif
BuildRequires: fdupes
BuildRequires: kernel-devel
BuildRequires: kernel-syms
BuildRequires: libattr-devel
BuildRequires: libelf-devel
BuildRequires: libtirpc-devel
BuildRequires: pesign-obs-integration
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: python3-devel
BuildRequires: sudo
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(blkid)
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(zlib)
# Files collide, but zypper does not recognize that (bnc#673720)
Conflicts: zfs-fuse
Provides: openzfs = %version-%release
Requires: zfs-kmp = %version
Obsoletes: %name-bash-completion < %version-%release
Provides: %name-bash-completion = %version-%release
%define services zfs-import-cache.service zfs-import-scan.service zfs-import.service zfs-import.target zfs-load-key.service zfs-mount.service zfs-share.service zfs-volume-wait.service zfs-volumes.target zfs-zed.service zfs.target zfs-scrub@.service
%if "%spec_flavor" == "longterm"
%suse_kernel_module_package -n zfs -x longterm -p %_sourcedir/%name-preamble -c %_sourcedir/_projectcert.crt
%endif
%if "%spec_flavor" == "kmp"
%kernel_module_package -n zfs -x xen -p %_sourcedir/%name-preamble -c %_sourcedir/_projectcert.crt
%endif
%description
ZFS is a combined file system and logical volume manager designed by
Sun Microsystems. The features of ZFS include protection against data
corruption, support for high storage capacities, integration of the
concepts of file system and volume management, snapshots and
copy-on-write clones, continuous integrity checking and automatic
repair, RAID-Z and native NFSv4 ACLs.
ZFS on Linux, which is also known as ZoL, includes fully functional
and stable SPA, DMU, ZVOL, and ZPL layers.
%package -n libnvpair3
Summary: A tools library for manipulating <name, value> pairs
License: CDDL-1.0
Group: System/Libraries
%description -n libnvpair3
ZFS is a file system and volume manager which was
originally developed by Sun Microsystems.
The nvpair library provides routines packing an unpacking nv pairs
for transporting data across process boundaries, transporting between
kernel and userland, and possibly saving onto disk files.
%package -n libuutil3
Summary: ZFS utility library
License: CDDL-1.0
Group: System/Libraries
%description -n libuutil3
ZFS is a file system and volume manager which was
originally developed by Sun Microsystems.
The uutil library contains various utility and wrapper functions used
by the ZFS userland.
%package -n libzfs6
Summary: ZFS filesystem access library
License: CDDL-1.0
Group: System/Libraries
%description -n libzfs6
ZFS is a file system and volume manager which was
originally developed by Sun Microsystems.
%package -n libzfsbootenv1
Summary: ZFS boot environment library
License: CDDL-1.0
Group: System/Libraries
%description -n libzfsbootenv1
ZFS is a file system and volume manager which was
originally developed by Sun Microsystems.
%package -n libzfs_core3
Summary: ZFS filesystem access library
License: CDDL-1.0
Group: System/Libraries
%description -n libzfs_core3
libzfs_core is intended to replace libzfs, and has the following
characteristics:
Thread safety, committed interface (stable API), programmatic
error handling and clear atomicity.
%package -n libzpool6
Summary: Zpool interface
License: CDDL-1.0
Group: System/Libraries
%description -n libzpool6
ZFS is a file system and volume manager which was
originally developed by Sun Microsystems.
The zpool library contains
* Emulation of kernel services in userland
* Routines needed by more than one client of libzpool
%package devel
Summary: Development files for the ZFS userspace utilities
License: CDDL-1.0
Group: Development/Libraries/C and C++
Requires: libnvpair3 = %version
Requires: libuutil3 = %version
Requires: libzfs6 = %version
Requires: libzfs_core3 = %version
Requires: libzfsbootenv1 = %version
Requires: libzpool6 = %version
%description devel
ZFS is a combined file system and logical volume manager designed by
Sun Microsystems. The features of ZFS include protection against data
corruption, support for high storage capacities, integration of the
concepts of filesystem and volume management, snapshots and
copy-on-write clones, continuous integrity checking and automatic
repair, RAID-Z and native NFSv4 ACLs.
This subpackage contains the development header files and libraries.
needed for compilation of third-party programs.
%prep
%autosetup -p1
%if 0%{?suse_version} < 1550
%patch -P 1 -p1 -R
%endif
# fix shebangs: don't use env
sed -i 's|/usr/bin/env @PYTHON_SHEBANG@|/usr/bin/@PYTHON_SHEBANG@|' \
cmd/arcstat.in cmd/dbufstat.in tests/test-runner/bin/*.py.in
sed -i 's|/usr/bin/env bash|/bin/bash|' contrib/dracut/*/module-setup.sh.in \
scripts/zimport.sh scripts/zloop.sh
sed -i 's|/bin/sh$|/bin/bash|' cmd/zed/zed.d/all-debug.sh # this script uses bash features
sed -i 's|#!/bin/sh$||' cmd/zed/zed.d/zed-functions.sh scripts/common.sh.in # these scripts are not executed so they don't need a shebang
%build
if [ ! -e configure ]; then
./autogen.sh
fi
%if 0%{?suse_version} > 1500
export CFLAGS="%optflags -I%_includedir/rpc"
sed -e "s|#include <tirpc/rpc/xdr\.h>|#include_next <rpc/xdr.h>|" \
-i lib/libspl/include/rpc/xdr.h
%endif
%if !%{defined make_build}
%define make_build make %{?_smp_mflags}
%endif
%if "%spec_flavor" != ""
for kmp_flavor in %flavors_to_build; do
rm -Rf "../obj-$kmp_flavor"
cp -a . "../obj-$kmp_flavor"
cd "../obj-$kmp_flavor/"
%configure --with-config=kernel --with-linux="/usr/src/linux" \
--with-linux-obj="/usr/src/linux-obj/%_target_cpu/$kmp_flavor" \
--sbindir="%_sbindir" ||
{ cat config.log; exit 1; }
%make_build
cd -
done
%else
# userspace parts
%configure --with-config=user \
--disable-sysvinit \
--enable-systemd \
--disable-static
%make_build
%endif
%install
export BRP_PESIGN_FILES="*.ko"
b="%buildroot"
%if "%spec_flavor" != ""
for kmp_flavor in %flavors_to_build; do
cd "../obj-$kmp_flavor/"
%make_install
cd -
done
rm -Rf "%buildroot/usr/src"
%else
# userspace parts
%make_install bashcompletiondir="%_datadir/bash-completion/completions"
rm -f "$b/%_libdir"/*.la
rm -Rf "$b/usr/src"
# all dracut
rm -Rf "$b/%_datadir/initramfs-tools"
rm -Rf "$b/%_datadir/zfs/zfs-tests"
mkdir -p "$b/%_sbindir"
for s in %services; do
if echo "$s" | grep -q '@' ; then
continue
elif echo "$s" | grep -q 'target' ; then
continue
fi
ln -s service "$b/%_sbindir/rc${s%.service}"
done
# udev location different for SLES 15 and later
if [ -d "$b/lib/udev" ]; then
mv "$b/lib/udev" "$b/usr/lib/udev/"
fi
cat "$b/%_sysconfdir/sudoers.d/zfs" > zfs-smartctl-sudo.txt
cat <<EOF >> zfs-smartctl-sudo.txt
## Security notice
## ---------------
##
## Beware that the rule above, if enabled, is actually problematic. The wildcard
## mechanism in sudo is too lax and cannot be tightened well using sudoers
## syntax. The rule at hand allows any user to run arbitrary
## "smartctl -a /dev/hda[...]" command lines as root like
##
## sudo /usr/sbin/smartctl -a /dev/hda1/../../tmp/some_symlink --extra-switch
##
## So contrary to what the line looks like this allows any user to:
##
## - get smart information for any device (or even pointing it to regular files
## etc), by adding "../../" path components.
## - pass additional arguments to smartctl beyond the "-a" switch for obtaining
## information.
EOF
rm -v "$b/%_sysconfdir/sudoers.d/zfs"
%endif
%fdupes %buildroot/%_prefix
%pre
%service_add_pre %services
%post
%service_add_post %services
%preun
%service_del_preun %services
%postun
%service_del_postun %services
%ldconfig_scriptlets -n libnvpair3
%ldconfig_scriptlets -n libuutil3
%ldconfig_scriptlets -n libzfs6
%ldconfig_scriptlets -n libzfsbootenv1
%ldconfig_scriptlets -n libzfs_core3
%ldconfig_scriptlets -n libzpool6
%if "%spec_flavor" == ""
%files
%doc zfs-smartctl-sudo.txt
%config %_sysconfdir/default/zfs
%dir %_sysconfdir/zfs
%config %_sysconfdir/zfs/vdev*
%config %_sysconfdir/zfs/zfs-functions
%dir %_sysconfdir/zfs/zed.d
%config %_sysconfdir/zfs/zed.d/*.sh
%config(noreplace) %_sysconfdir/zfs/zed.d/zed.rc
%dir %_sysconfdir/zfs/zpool.d
%config %_sysconfdir/zfs/zpool.d/*
%_bindir/arcstat
%_bindir/arc_summary
%_bindir/dbufstat
%_bindir/raidz_test
%_bindir/z*
%_sbindir/fsck.zfs
%_sbindir/rc*
%_sbindir/z*
%_mandir/man?/*.*
%_datadir/zfs/
/sbin/mount.zfs
%_prefix/lib/dracut/
%_prefix/lib/udev/
%_libexecdir/zfs/
%_unitdir/zfs*
%_presetdir/50-zfs.preset
/usr/lib/systemd/system-generators/
/usr/lib/modules-load.d/
%_datadir/bash-completion/completions/
%files -n libnvpair3
%_libdir/libnvpair.so.3*
%files -n libuutil3
%_libdir/libuutil.so.3*
%files -n libzfs6
%_libdir/libzfs.so.6*
%files -n libzfsbootenv1
%_libdir/libzfsbootenv.so.1*
%files -n libzfs_core3
%_libdir/libzfs_core.so.3*
%files -n libzpool6
%_libdir/libzpool.so.6*
%files devel
%_includedir/lib*/
%_libdir/libnvpair.so
%_libdir/libuutil.so
%_libdir/libzfs.so
%_libdir/libzfsbootenv.so
%_libdir/libzfs_core.so
%_libdir/libzpool.so
%_libdir/pkgconfig/*.pc
%endif
%changelog
* Tue Aug 26 2025 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.3.4
* Support for Linux 6.16
- Delete 0001-SIMD-Don-t-require-definition-of-HAVE_XSAVE.patch,
0002-config-Avoid-void-main-in-toolchain-simd.m4.patch (merged)
* Mon Aug 4 2025 Jan Engelhardt <jengelh@inai.de>
- Add 0001-SIMD-Don-t-require-definition-of-HAVE_XSAVE.patch
0002-config-Avoid-void-main-in-toolchain-simd.m4.patch
* Fri Jun 20 2025 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.3.3
* ZIL: Relax parallel write ZIOs processing
* Wed Jun 18 2025 Jan Engelhardt <jengelh@inai.de>
- Switch to snapshot zfs-2.3.2-105-g3cfd49e40
* Support for Linux 6.15 API
* Thu May 1 2025 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.3.2
* Support Linux 6.14
* Added fix for zpool get state segfaults with two or more vdevs
* Fix dspace underflow bug (#17183)
* zed: Ensure spare activation after kernel-initiated device removal
* Block remap for cloned blocks on device removal
* Add receive:append permission for limited receive
* Mon Mar 10 2025 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.3.1
* Support Linux 6.13
* zpool: allow relative vdev paths
* Avoid a possible deadlock in ``arc_read`` function
* Tue Jan 14 2025 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.3.0
* RAIDZ Expansion: Support for adding new devices to an existing
RAIDZ pool, increasing storage capacity without downtime.
* Fast Dedup: A performance upgrade to the original OpenZFS
deduplication functionality.
* Direct IO: Allows bypassing the ARC for reads/writes, improving
performance in scenarios like NVMe devices where caching may
hinder efficiency.
* Long names: Support for file and directory names up to 1023
characters.
* Thu Dec 12 2024 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.2.7
* Support for Linux 6.12
* Fix zfs_prune panics
* Increase L2ARC write rate and headroom
* Wed Sep 4 2024 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.2.6
* Linux 6.10 support
* Enable L2 cache of all (MRU+MFU) metadata but MFU data only
[#16343,#16402]
* linux/zvol_os: fix zvol queue limits initialization [#16454]
* linux/zvol_os: tidy and document queue limit/config
setup [#16400]
* linux/zvol_os.c: cleanup limits for non-blk mq case [#16462]
* linux/zvol_os.c: Fix max_discard_sectors limit for
6.8+ kernel [#16462]
* Fri Aug 9 2024 M K <tux93@opensuse.org>
- Update to release 2.2.5
* Linux 6.9 support
* Mon May 20 2024 zero mind <zeromind@gmx.com>
- Build kernel module package for longterm kernel as well
* Fri May 3 2024 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.2.4
* Linux 6.8 support
* vdev probe to slow disk could have stalled mmp write checker
* Add slow disk diagnosis to ZED
* Thu Feb 22 2024 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.2.3
* Linux 6.7 support
* Add Ntfy notification support to ZED
* zfs list: add '-t fs' and '-t vol' options
* Add 'zpool status -e' flag to see unhealthy vdevs
* Improve performance for zpool trim on Linux
- Delete linux_6.2_compat_add_check_for_kernel_neon_availability.patch,
delete define_blk_open_excl_in_bkldev_get_by_path_4arg_case.patch
* Mon Feb 12 2024 Dominik Heidler <dheidler@suse.de>
- Require zfs kernel module from userland zfs package
* Required due to userland zfs pkg providing dracut hook
that fails without kernel module being available (boo#1219799)
* Tue Jan 30 2024 Dominik Heidler <dheidler@suse.de>
- Add patch linux_6.2_compat_add_check_for_kernel_neon_availability.patch
* Fix building on aarch64 for linux >= 6.2 (boo#1218283)
* Sun Jan 7 2024 Dominik Heidler <dheidler@suse.de>
- Put bash completion files in correct directory
* Tue Dec 19 2023 Dominik Heidler <dheidler@suse.com>
- Add define_blk_open_excl_in_bkldev_get_by_path_4arg_case.patch
* Fri Dec 1 2023 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.2.2
* dnode_is_dirty: check dnode and its data for dirtiness (resolve
data corruption bug, cf.
https://github.com/openzfs/zfs/issues/15526
https://github.com/openzfs/zfs/pull/15571 )
* zdb: Fix zdb '-O|-r' options with -e/exported zpool
* zdb: show BRT statistics and dump its contents
* Sat Oct 14 2023 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.2.0
* New features: block cloning, Linux container support, scrub
error log, BLAKE3 checksums, Corrective `zfs receive`,
vdev properties, vdev and zpool user properties.
* Thu Sep 28 2023 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.13
* Support for Linux 6.5
* Workaround issue cleaning up automounted snapshots on Linux
* zed: Reduce log noise for large JBODs
* Store the L2ARC device ashift in the vdev label
* Wed Aug 16 2023 Dominik Heidler <dheidler@suse.de>
- Remove zfs-sudo subpackage and add sudoers sample config as doc
* As suggested by security in [boo#1214321]
* Added security note about sudoers config to doc
* Tue Aug 15 2023 Dominik Heidler <dheidler@suse.de>
- Fix rpmlint errors
* Tue Jul 18 2023 Aleksa Sarai <asarai@suse.com>
- Generate -ueficert subpackage in order to allow automated updates for systems
with module signing enforcement (Leap 15.2 and later). The zfs-ueficert
package is Recommended by the the kmp packages in order to try to make this
setup automatic. boo#1173551
* Wed Jun 7 2023 Michał Szczepaniak <m.szczepaniak.000@gmail.com>
- Update to 2.1.12
* Thu Apr 20 2023 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.11
* Values printed by zpool-iostat(8) should be right-aligned
* Revert "ZFS_IOC_COUNT_FILLED does unnecessary txg_wait_synced()"
* Fri Apr 14 2023 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.10
* Support for Linux 6.2, a little support for 6.3
* Removed Python 2.x and Python < 3.6 support
* Add Linux kmemleak support to ZTS
* Terminal coloring
* Introduce ZIL block commit delay
* Allow mounting snapshots in .zfs/snapshot as a regular user
* Fri Mar 24 2023 Jan Engelhardt <jengelh@inai.de>
- Rectify dependencies of zfs-devel [boo#1209699]
* Thu Jan 26 2023 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.9
* linux 6.2 compat: zpl_set_acl arg2 is now struct dentry
* Fri Jan 20 2023 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.8
* Support for Linux 6.1
* include systemd overrides to zfs-dracut module
* systemd: set restart=always for zfs-zed.service
* Fri Dec 16 2022 Bob Haley <fawz@use.startmail.com>
- Added %%kernel_module_package_buildreqs to build requirements to
require suse-module-tools-scriptlets which have been moved to
their own package.
* Fri Dec 2 2022 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.7 [boo#1205964]
* Support for Linux 6.0
* Mon Oct 3 2022 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.6
* Linux: 5.19 support
* zpool: Don't print "repairing" on force faulted drives
* `zfs recv` hung if max recordsize is less than received
recordsize
* Wed Jun 22 2022 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.5
* Linux: compatible with 3.10 - 5.18 kernels
* Corrected edge case in uncompressed ARC->L2ARC handling
* Remove wrong assertion in log spacemap
* Wed Jun 8 2022 Andrew Hibberson <alerts2@hib.by>
- As of the Linux 5.19 kernel the asm/fpu/internal.h header was
entirely removed. It has been effectively empty since the 5.16
kernel and provides no required functionality.
* Wed Mar 23 2022 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.4
* Linux: compatible with 3.10 - 5.17 kernels
* Fix ACL checks for NFS kernel server
* Tue Mar 15 2022 Jan Engelhardt <jengelh@inai.de>
- Add kmod.diff to workaround zfs's assumption that /lib/modules
exists.
* Fri Mar 11 2022 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.3
* Linux 5.16 support
* Fix ENOSPC when unlinking multiple files from full pool
* Enable encrypted raw sending to pools with greater ashift
* Add weekly and monthly scrub timers for systemd
* Thu Dec 16 2021 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.2
* Linux 5.15 support
* Sun Sep 19 2021 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.1
* Linux 5.14 support
* Data integrity fixes, various ZTS fixes, persistent L2ARC fixes.
* Fri Jul 2 2021 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.1.0
* New features: Distributed Spare RAID, the Compatibility
Property, InfluxDB support.
* Fri Jul 2 2021 Jan Engelhardt <jengelh@inai.de>
- Update to snapshot 2.1.0~rc8
* systemd: import: expand $ZPOOL_IMPORT_OPTS correctly
* Sat Jun 26 2021 Jan Engelhardt <jengelh@inai.de>
- Update to snapshot 2.1.0~rc7
* Fri May 28 2021 Jan Engelhardt <jengelh@inai.de>
- Update to snapshot 2.1.0~rc6
* Partial Linux 5.13 support
* Fri May 14 2021 Jan Engelhardt <jengelh@inai.de>
- Update to snapshot 2.1.0~rc5
* Support for Linux 5.12
* Tue Mar 9 2021 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.0.4
* Linux: compatible with 3.10 - 5.11 kernels
* Don't bomb out when using keylocation=file://
* Fri Feb 12 2021 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.0.3
* Fix a panic and set file mode during zfs_write
* dracut: Fix race condition between load-key and import
* Mon Feb 1 2021 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.0.2
* Avoid updating the L2ARC device header unnecessarily
* Fix a resource leak in uu_avl_pool_destroy
* Wed Jan 6 2021 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.0.1
* Linux 5.10 support.
* Fix a number of memory leaks.
* Mon Nov 30 2020 Jan Engelhardt <jengelh@inai.de>
- Update to release 2.0.0
* Unified code base and documentation - The ZFS on Linux project
has been renamed to OpenZFS.
* Sequential resilver - The sequential resilver feature can
rebuild a failed mirror vdev in a fraction of the time it
would take a traditional healing resilver.
* Persistent L2ARC - This feature makes the L2ARC cache device
persistent across reboots.
* ZStandard compression
* Redacted zfs send/receive - Redacted streams allow users to
send subsets of their data to a target system.
* Wed Oct 7 2020 Jan Engelhardt <jengelh@inai.de>
- Update to release 0.8.5
* Linux 5.8 support.
* Fixed resilver restarting unnecessarily when it encounters
errors.
* ZED: Do not offline a missing device if no spare is available.
* Improved integration with systemd units. (checking absence
of zfs / ordering with regard to zpools)
* Tue May 12 2020 Jan Engelhardt <jengelh@inai.de>
- Update to release 0.8.4
* Linux 5.6 support.
* Sat Jan 25 2020 Jan Engelhardt <jengelh@inai.de>
- Update to release 0.8.3
* Linux 5.4 support.
* Fri Sep 27 2019 Aleksa Sarai <asarai@suse.com>
- Update to new upstream release 0.8.2.
* Linux 5.3 support.
* Various bug fixes, see
<https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.8.2>
for the full list.
* Sun Jun 16 2019 Lorenz Hüdepohl <dev@stellardeath.org>
- Add multiversion(kernel) and zfsmodule(%%kernel_version) RPM tags.
This prevents the concurrent installation of multiple packages
for the same kernel version. It seems this can happen when a
rebuild of the zfs-kmp package is triggered and the release
number is incremented.
These packages provide the same files and cannot normally be
installed in parallel. Using this, the old relase gets properly
replaced by the new one.
* Fri Jun 14 2019 Aleksa Sarai <asarai@suse.com>
- Update to new upstream release 0.8.1.
* Preliminary Linux 5.2 support.
* Various bug fixes, see
<https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.8.1>
for the full list.
- Add stable branch PGP key to zfs.keyring.
- Remove patches that are in the newest release:
0001-Revert-Report-holes-when-there-are-only-metadata-cha.patch
* Fri May 31 2019 Aleksa Sarai <asarai@suse.com>
- Backport a patch which reverts some hole-related changes that have caused
data loss to some users (where a "cp -R" ends up copying empty bytes instead
of the file contents -- even though the file contents are still on-disk).
+ 0001-Revert-Report-holes-when-there-are-only-metadata-cha.patch
* Thu May 23 2019 Aleksa Sarai <asarai@suse.com>
- Update to new upstream release 0.8.0.
* Fri May 10 2019 Aleksa Sarai <asarai@suse.com>
- Update to new upstream release 0.8.0~rc5
* Linux 5.1 support.
* Tue Apr 23 2019 Aleksa Sarai <asarai@suse.com>
- Update to new upstream release 0.8.0~rc4
* New feature: Pool TRIM.
* Linux 5.0 support.
- Add PGP verification of Source archives.
* Wed Jan 16 2019 Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 0.8.0~rc3
* New feature: Pool initialization
* Linux 4.20 support
* Mon Nov 26 2018 Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 0.8.0~rc2
* New feature: Deferred resilvers
* Compatible with 4.19 Linux kernels.
* Sun Nov 11 2018 brassh@web.de
- bugfixes:
* remove dependency on spl-kmp-default, since
SPL has been merged into ZFS
* fix udev related build error under SLE15 and up
* Sun Sep 9 2018 Jan Engelhardt <jengelh@inai.de>
- SPL was merged into the ZFS release tarball
- Update to new upstream release 0.8.0~rc1
* Support for Linux 4.18
* New features: encryption, device removal, allocation classes,
pool checkpoints, sequential scrub and resilver, project quota,
channel programs, Direct I/O
* Fri May 11 2018 kamikazow@pensuse.org
- Update to new upstream release 0.7.9
* Remove DEBUG_STACKFLAGS to bypass compiler error
* Fedora 28: Add BuildRequires: libtirpc-devel #7494 #7495
* RHEL 7.5 compat: FMODE_KABI_ITERATE #7460 #7463
* Add back iostat -y or -w descriptions #7479 #7483
* Add test with two kinds of file creation orders #7411
* Allow mounting datasets more than once #5796 #7207
* Fix zfs_arc_max minimum tuning #7417
* Linux compat 4.16: blk_queue_flag_{set,clear} #7428 #7431 #7410
* Fix 'zfs send/recv' hang with 16M blocks #7365 #7404
* Clean up (k)shlib and cfg file shebangs
* Fix "file is executable, but no shebang" warnings #7359 #7395
* Exclude python scripts from RPM shebang check #7360 #7399
* Update mmp_delay on sync or skipped, failed write #7330
* Fedora 28: Fix misc bounds check compiler warnings #7361 #7368
* Fix hung z_zvol tasks during 'zfs receive' #6330 #6890 #7343
* Add support for nvme based devids #7356
* chmod -x on etc/init.d/zfs-*.in automake files #7355 #7327
* Fix mmap / libaio deadlock #7335 #7339
* Remove libattr requirement #7344 #7351
* Fedora 28: Fix "Macro %%_dracutdir has empty body" #7326 #7328
* modprobe zfs during dracut mount #7322
* Add support for nvme disk detection #7304
* Report pool suspended due to MMP #7296
* Add zfs_scan_ignore_errors tunable #7293
* Allow to limit zed's syslog chattiness #6886 #7260
* Record skipped MMP writes in multihost_history #7212
* Introduce a destroy_dataset helper #7224 #7246 #7249 #7267
* Tue Apr 10 2018 kamikazow@opensuse.org
- Update to new upstream release 0.7.8
* Compatible with 2.6.32 - 4.16 Linux kernels.
* Fix: Unlistable and disappearing files #7401
* Revert "Handle zap_add() failures in mixed ... " #7416
* Thu Mar 22 2018 jengelh@inai.de
- Add rc* convenience commands
- Mark zed.rc as %%config(noreplace)
* Thu Mar 22 2018 mrueckert@suse.de
- we only use systemd macros anyway ... remove the sysvinit scripts
from the filelist
- force systemd in the configure cmdline for the userspace tools
- force verbose compiler calls
* Tue Mar 20 2018 kamikazow@opensuse.org
- Update to new upstream release 0.7.7
* Compatible with 2.6.32 - 4.16 Linux kernels.
* Sat Mar 10 2018 kamikazow@opensuse.org
- Ported TW fix by Paolo Panto (munix9)
* added libtirpc dependency, fixed Tumbleweed build with moved tirpc
* Tue Feb 6 2018 kamikazow@opensuse.org
- Update to new upstream release 0.7.6
* Compatible with 2.6.32 - 4.15 Linux kernels.
* Tue Dec 19 2017 kamikazow@opensuse.org
- Update to new upstream release 0.7.5
- New systemd target
* Sun Dec 10 2017 kamikazow@opensuse.org
- Update to new upstream release 0.7.3
* Compatible with 2.6.32 - 4.14 Linux kernels.
- Leap 15 and TW Dec.'17 compatibility thanks to Lorenz Hüdepohl.
* Mon Aug 7 2017 asarai@suse.com
- Update to new upstream release 0.7.0
* Compatible with 2.6.32 - 4.12 Linux kernels.
* Mon Jul 10 2017 yury.buldakov@gmail.com
- Update to new upstream version 0.6.5.10
* Compatible with 2.6.32 - 4.12-rc3 Linux kernels.
* Wed Oct 19 2016 jengelh@inai.de
- Update to new upstream release 0.6.5.8
* Compatible with 2.6.32 - 4.8 Linux kernels.
* Mon Jun 6 2016 dev@stellardeath.org
- Update to new upstream release 0.6.5.7
* Compatible with 2.6.32 - 4.6 Linux kernels.
* Fix SPL build failure on PowerPC zfsonlinux/spl#516
* Fix user namespaces uid/gid mapping zfsonlinux/zfs#4177
* Fix ZPL miswrite of default POSIX ACL zfsonlinux/zfs#4520
* Linux 4.5 and 4.6 compatibility zfsonlinux/zfs#4537 zfsonlinux/zfs#4489
* Ensure /dev/disk/by-partlabel gets correctly populated zfsonlinux/zfs#4517
* Utilities now work reliably with newly created partitions zfsonlinux/zfs#3708
* Import now reliably uses device names stored in label zfsonlinux/zfs#3043
* Fix possible deadlock in zfs_secpolicy_write_perms ioctl zfsonlinux/zfs#4554
* Fix inverted logic on none elevator comparison zfsonlinux/zfs#4507
* Add 32 bit FS_IOC32_{GET|SET}FLAGS compat ioctls for PPC zfsonlinux/zfs#4477
* Thu May 5 2016 jengelh@inai.de
- Update to new upstream release 0.6.5.6
* Add support for s390{,x}
* Handle negative dentries in case insensitive filesystem
* Fix casesensitivity=insensitive deadlock
* Correctly parse zdb -R flag arguments
* Fix lock order inversion with zvol_open()
* Add support for asynchronous zvol minor operations
* Make zvol minor functionality more robust
* Prevent zpool_find_vdev() from truncating vdev path
* Add -gLP to zpool subcommands for alt vdev names
* Fix zpool list -v output for spares and log devices
* Fix ZFS send fails to transmit some holes
* Sat Mar 12 2016 jengelh@inai.de
- Update to new upstream release 0.6.5.5
* Support for Linux 4.5
* Make arc_summary.py and dbufstat.py compatible with python3
* Prevent arc_c collapse and possible panic
* Prevent duplicated xattr between SA and dir
* Fix zsb->z_hold_mtx deadlock
* Prevent SA header corruption
* Fix potential deadlock in cv_wait()
* Fix livelock in shrinker
* Sun Jan 17 2016 dev@stellardeath.org
- Update to release 0.6.5.4
* Wed Dec 9 2015 yury.buldakov@gmail.com
- Update to release 0.6.5.3
* Sun Oct 11 2015 dev@stellardeath.org
- Update to release 0.6.5.2
* Fri Jul 17 2015 jengelh@inai.de
- Update to new upstream release 0.6.4.2
* No changelog was provided
* Thu Jul 17 2014 jengelh@inai.de
- Update to new upstream release 0.6.3
* New features added: I/O read/write accounting, file attributes,
POSIX ACLs, SELinux support, "relatime" mount option
* systemd service integration
* The ZFS Event Daemon was added
* `zpool create` treats -O mountpoint and -m the same
* `zpool create -o altroot=/xyz -O mountpoint=/mnt` recognizes
the mountpoint option now
* `zpool get` and `zpool list` now recognize the -p option
* `zfs recv -F` destroys any snapshots created since the
incremental source
* `zfs send -D` works again
* `zpool import` gained the -t option for temporary pool names
* `zpool import` lost the unused -r option
* Fix panic on `zfs receive` of a recursive deduplicated stream
* `zfs hold` or `zfs release` of a non-existent snapshot did not
output an error
* ZFS quota or reservation on pool version < 22 can be set again
* Improved ZFS send / receive performance due to snapshot
hold / release processing
* `zpool status -x` reports pools with removed L2ARC devices
* zfs rejects snapshots of inconsistent datasets
* Sat Aug 31 2013 jengelh@inai.de
- Update to new upstream release 0.6.2
* Added Linux 3.11 compatibility
* Added arcstat.py script from FreeNAS
* Added 'zpool labelclear' command from FreeBSD
* Added L2ARC compression from Illumos
* Added I/O deadman thread from Illumos
* Added SEEK_DATA/SEEK_HOLE to lseek()/llseek()
* Added writeable arc+l2arc module options
* Improved detection of advanced format (AF) disks
* Improved N-way mirror read performance
* Improved zdb to display SA xattrs
* Sat Mar 30 2013 jengelh@inai.de
- Initial package (version 0.6.1) for build.opensuse.org