24 Commits

Author SHA1 Message Date
Gyorgy Sarvari
b52fbf590f
zfs: upgrade 2.2.8 -> 2.4.1
Changelogs:
https://github.com/openzfs/zfs/releases

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-02 19:25:49 -08:00
Khem Raj
fa1a8cd51b
zfs: Upgrade to 2.2.8 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-26 11:27:12 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Martin Jansa
31519530f3
gpiod-sysfs-proxy, smbnetfs, zfs: add whitespace around assignments
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are WARNINGs like:

WARNING: meta-oe/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb: meta-oe/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb:9 has a lack of whitespace around the assignment: 'HOMEPAGE ="http://sourceforge.net/projects/smbnetfs"'
WARNING: meta-oe/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb: meta-oe/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb:5 has a lack of whitespace around the assignment: 'HOMEPAGE ="https://github.com/openzfs/zfs"'
WARNING: meta-oe/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy_0.1.2.bb: meta-oe/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy_0.1.2.bb:27 has a lack of whitespace around the assignment: 'export MOUNTPOINT="${@bb.utils.contains('PACKAGECONFIG', 'sys-class-mount', '/sys/class/gpio', '/run/gpio', d)}"'

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-02 09:49:30 -07:00
Yi Zhao
e2140c416c
zfs: enable packageconfig pam for pam distro feature
Enable pam packageconfig if pam is in DISTRO_FEATURES. Also set pam
module path to ${base_libdir}/security as this is the default path in
libpam.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-06 07:22:29 -08:00
Yoann Congal
4990a36eb4
zfs: fix host-related reproducibility
The zfs package content varies depending the host distro.
To fix this, force target distribution ("vendor") to Debian to match
default values for things like: NFS server service name, bash completion
path, configuration files, ...
The Debian values do match the OpenEmbedded ones.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 12:04:02 -07:00
Khem Raj
ff9ea69ab6
zfs: Upgrade to 2.2.5 release
Enable linux builtins to fix zfs build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-08-11 10:14:00 -07:00
Bruce Ashfield
639d7378ce
zfs: update to 2.2.2
In addition to the zfs upstream commits:

  - This fixes the build against libc-headers/kernel 6.6+
  - adds bash-completion packaging, as 2.2.2 has support

Bumping zfs to version zfs-2.2.2, which comprises the following commits:

    494aaaed8 Tag zfs-2.2.2
    522414da3 FreeBSD: Fix ZFS so that snapshots under .zfs/snapshot are NFS visible
    a8c256046 ZIL: Call brt_pending_add() replaying TX_CLONE_RANGE
    eb34de04d zdb: fix printf() length for uint64_t devid
    d813aa853 Linux 6.6 compat: fix configure error with clang (#15558)
    3b267e72d zfs-dkms: fix shell-init error message
    349fb77f1 FreeBSD: Fix the build on FreeBSD 12
    2a953e0ac dmu_buf_will_clone: fix race in transition back to NOFILL
    e4985bf5a zdb: Fix zdb '-O|-r' options with -e/exported zpool
    e96675a7b zdb: show BRT statistics and dump its contents
    d702f86ea brt: lift internal definitions into _impl header
    41c4599cb ZTS: Fix zfs_load-key failures on F39
    56a2a0981 ZIL: Do not encrypt block pointers in lr_clone_range_t
    9b9b09f45 dnode_is_dirty: check dnode and its data for dirtiness
    89fcb8c6f Revert "Tune zio buffer caches and their alignments"
    55dd24c4c Tag zfs-2.2.1
    78287023c ZTS: Fix 'could not unmount datasets' on Alma 9
    479dca51c zfs-2.2.1: Disable block cloning by default
    87e9e8286 Add a tunable to disable BRT support.
    0733fe2aa Packaging: Auto-generate changelog during configure (#15528)
    fd836dfe2 Linux 6.6 compat: META
    e92a680c7 Workaround UBSAN errors for variable arrays
    f1659cc78 ZTS: Test for all known zpool feature sets
    f863ac3d0 Update zpool-features.7 for grub2 compatibility list updates
    f6d2e5c07 Workaround to allow openzfs-zfs-dkms install on Ubuntu
    f2fe4d51a Linux: reject read/write mapping to immutable file only on VM_SHARED
    76663fe37 Fix accounting error for pending sync IO ops in zpool iostat
    44c8ff9b0 Linux 6.6 compat: fix implicit conversion error with debug build
    f0ffcc3ad Remove obsolete_counts from grub2 compatibility list
    e534ba5ce Fix dkms installation of deb packages created with Alien.
    1c7048357 Add all read-only compatible zpool features to grub2 compatibility
    3ec4ea68d Unify arc_prune_async() code
    bd7a02c25 Tune zio buffer caches and their alignments
    e82e68400 DMU: Do not pre-read holes during write
    3f67e012e Linux 6.6 compat: fsync_bdev() has been removed in favor of sync_blockdev()
    21875dd09 Linux 6.6 compat: generic_fillattr has a new u32 request_mask added at arg2
    fe9d409e9 Linux 6.6 compat: use inode_get/set_ctime*(...)
    7aef672b7 Read prefetched buffers from L2ARC
    f9a9aea12 Add mutex_enter_interruptible() for interruptible sleeping IOCTLs
    8ba748d41 Revert "zvol: Temporally disable blk-mq"
    e860cb020 zvol: Remove broken blk-mq optimization
    86c3ed40e "ARC prefetch metadata accesses:" appears twice in the output.
    6e41aca51 Trust ARC_BUF_SHARED() more
    79f7de575 Remove lock from dsl_pool_need_dirty_delay()
    0ef1964c7 run-zts test procfs/pool_state failed with uncorrectable I/O failure
    eaa62d995 Properly pad struct tx_cpu to cache line
    8ca95d78c Fix typo in  tests/zfs-tests/tests/functional/cli_user/misc/misc.cfg
    edebca5df FreeBSD: taskq: Remove unused declaration
    1cc1bf4fa Set spa_ccw_fail_time=0 when expanding a vdev.
    0bcd1151f Fix ZED auto-replace for VDEVs using by-id paths
    78fd79eac Add zfs_prepare_disk script for disk firmware install
    6d693e20a Large sync writes perform worse with slog
    b76724ae4 FreeBSD: Improve taskq wrapper
    459c99ff2 Fix block cloning between unencrypted and encrypted datasets

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-30 00:56:11 -08:00
Bruce Ashfield
67e31c930d zfs: update to v2.2.0-rc4
Building against the 6.5+ kernel and headers resulted in a build failure
due to missing detected features. We can fix the issues by bumping to
2.2.0-rc4

Bumping zfs to version zfs-2.2.0-rc4-35-g229ca7d73, which comprises the following commits:

    739db06ce Tag 2.2.0-rc4
    4da8c7d11 Intel QAT 1.7 compatibility
    32949f256 Relax error reporting in zpool import and zpool split
    79ac1b29d ZIL: Change ZIOs issue order.
    7dc2baaa1 ZIL: Revert zl_lock scope reduction.
    5a7cb0b06 ZIL: Tune some assertions.
    400f56e3f dmu_buf_will_clone: change assertion to fix 32-bit compiler warning
    63159e5bd checkstyle: fix action failures
    7eabb0af3 Try to clarify wording to reduce zpool add incidents
    c65aaa838 Avoid save/restoring AMX registers to avoid a SPR erratum
    e99e684b3 zed: update zed.d/statechange-slot_off.sh
    1b696429c Make zoned/jailed zfsprops(7) make more sense.
    084ff4abd tests/block_cloning: rename and document get_same_blocks helper
    ab999406f Update outdated assertion from zio_write_compress
    d19304ffe zed: Add zedlet to power off slot when drive is faulted
    92f095a90 copy_file_range: fix fallback when source create on same txg
    645a7e4d9 Move zinject from openzfs-zfs-test to openzfs-zfsutils
    95649854b dracut: support mountpoint=legacy for root dataset
    895cb689d zfs_clone_range should return a descriptive error codes
    6bdc7259d libzfs: sendrecv: send_progress_thread: handle SIGINFO/SIGUSR1
    1e488eec6 linux/spl/kmem_cache: undefine `kmem_cache_alloc` before defining it
    c418edf1d Fix some typos
    df8c9f351 ZIL: Second attempt to reduce scope of zl_issuer_lock.
    bb31ded68 ZIL: Replay blocks without next block pointer.
    c1801cbe5 ZIL: Avoid dbuf_read() before dmu_sync().
    ffaedf0a4 Remove fastwrite mechanism.
    02ce9030e Avoid waiting in dmu_sync_late_arrival().
    0ae7bfc0a zpool_vdev_remove() should handle EALREADY error return
    bd1eab16e linux: zfs: ctldir: set [amc]time to snapshot's creation property
    b3c1807d7 readmmap.c: fix building with MUSL libc
    b5e245633 Check the return value in clonefile test
    c47f0f441 linux/copy_file_range: properly request a fallback copy on Linux <5.3
    12f2b1f65 zdb: include cloned blocks in block statistics
    4a104ac04 Tag 2.2.0-rc3
    c24a48063 BRT should return EOPNOTSUPP
    36d1a3ef4 zts: block cloning tests
    2768dc04c linux: implement filesystem-side copy/clone functions for EL7
    3366ceaf3 linux: implement filesystem-side clone ioctls
    5d12545da linux: implement filesystem-side copy/clone functions
    a3ea8c8ee dbuf_sync_leaf: check DB_READ in state assertions
    0426e1327 dmu_buf_will_clone: only check that current txg is clean
    8aa4f0f0f brt_vdev_realloc: use vmem_alloc for large allocation
    7698503dc zfs_clone_range: use vmem_malloc for large allocation
    b9aa32ff3 zed: Reduce log noise for large JBODs
    571762b29 Linux 6.4 compat: META
    991834f5d Remove zl_issuer_lock from zil_suspend().
    41a0f6627 ZIL: Fix config lock deadlock.
    c79d1bae7 Update changelog for OpenZFS 2.2.0 release
    70232483b Tag 2.2.0-rc2
    c5273e0c3 shellcheck: disable "unreachable command" check [SC2317]
    685ae4429 metaslab: tuneable to better control force ganging
    81be809a2 Adjust prefetch parameters.
    8a6fde821 Add explicit prefetches to bpobj_iterate().
    b6f618f8f Don't emit cksum_{actual_expected} in ereport.fs.zfs.checksum events
    51a2b5976 Don't emit checksum histograms in ereport.fs.zfs.checksum events
    8c81c0b05 zed: Fix zed ASSERT on slot power cycle
    b221f4394 Fix zpl_test_super race with zfs_umount
    e037327bf spa_min_alloc should be GCD, not min
    1a2e486d2 Don't panic if setting vdev properties is unsupported for this vdev type
    d8011707c Ignore pool ashift property during vdev attachment
    f5f5a2db9 Rollback before zfs root is mounted
    83b0967c1 Do not request data L1 buffers on scan prefetch.
    73ba5df31 Linux 6.5 compat: disk_check_media_change() was added
    1bc244ae9 Linux 6.5 compat: BLK_STS_NEXUS renamed to BLK_STS_RESV_CONFLICT
    931dc7055 Linux 6.5 compat: intptr_t definition is canonically signed
    5299f4f28 set autotrim default to 'off' everywhere
    f917cf1c0 Fix the ZFS checksum error histograms with larger record sizes
    56ed389a5 Fix raw receive with different indirect block size.
    e613e4bbe Avoid extra snprintf() in dsl_deadlist_merge().
    b4e630b00 Add missed DMU_PROJECTUSED_OBJECT prefetch.
    bf6cd3079 FreeBSD: catch up to __FreeBSD_version 1400093
    1266cebf8 FreeBSD: Fix build on stable/13 after 1302506.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-29 14:24:54 -07:00
Khem Raj
29abcea7bb zfs: Disable builds on aarch64 for now
It does not build with 6.4+ kernel, it is using symbols which are not
abailable to non GPL modules anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-15 23:43:27 -07:00
Khem Raj
7218ccd0d1 zfs: Update to 2.2.0 rc1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-15 23:43:27 -07:00
Khem Raj
1c0e1d92b2 zfs: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Khem Raj
20cea78248 zfs: Fix build with aarch64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Khem Raj
98353572fa zfs: Upgrade to 2.1.11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Khem Raj
fe103d4322 zfs: Add a patch to fix aarch64 build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-28 16:35:00 -07:00
Martin Jansa
e4fd963741 zfs: fix installation paths for multilib
* pass --with-systemd* variables to install in more typical directories
* adjust FILES:${PN} to package them and more explicitly list some of
  the directories like sudoers.d
* also remove unnecessary trailing /* and fix indentation of closing quote

* fixes:
ERROR: QA Issue: zfs: Files/directories were installed but not shipped in any package:
  /lib
  /lib/modules
  /lib/modules/6.1.20-v8
  /lib/modules/6.1.20-v8/extra
  /lib/modules/6.1.20-v8/extra/zstd
  /lib/modules/6.1.20-v8/extra/zfs
  /lib/modules/6.1.20-v8/extra/unicode
  /lib/modules/6.1.20-v8/extra/lua
  /lib/modules/6.1.20-v8/extra/spl
  /lib/modules/6.1.20-v8/extra/zcommon
  /lib/modules/6.1.20-v8/extra/avl
  /lib/modules/6.1.20-v8/extra/nvpair
  /lib/modules/6.1.20-v8/extra/icp
  /lib/modules/6.1.20-v8/extra/zstd/zzstd.ko.xz
  /lib/modules/6.1.20-v8/extra/zfs/zfs.ko.xz
  /lib/modules/6.1.20-v8/extra/unicode/zunicode.ko.xz
  /lib/modules/6.1.20-v8/extra/lua/zlua.ko.xz
  /lib/modules/6.1.20-v8/extra/spl/spl.ko.xz
  /lib/modules/6.1.20-v8/extra/zcommon/zcommon.ko.xz
  /lib/modules/6.1.20-v8/extra/avl/zavl.ko.xz
  /lib/modules/6.1.20-v8/extra/nvpair/znvpair.ko.xz
  /lib/modules/6.1.20-v8/extra/icp/icp.ko.xz
  /usr/lib/modules-load.d
  /usr/lib/systemd/system
  /usr/lib/systemd/system-preset
  /usr/lib/systemd/system-generators/zfs-mount-generator
  /usr/lib/systemd/system/zfs-scrub@.service
  /usr/lib/systemd/system/zfs-scrub-weekly@.timer
  /usr/lib/systemd/system/zfs-import.service
  /usr/lib/systemd/system/zfs-import-scan.service
  /usr/lib/systemd/system/zfs-share.service
  /usr/lib/systemd/system/zfs-mount.service
  /usr/lib/systemd/system/zfs-volume-wait.service
  /usr/lib/systemd/system/zfs.target
  /usr/lib/systemd/system/zfs-load-key.service
  /usr/lib/systemd/system/zfs-import.target
  /usr/lib/systemd/system/zfs-import-cache.service
  /usr/lib/systemd/system/zfs-zed.service
  /usr/lib/systemd/system/zfs-scrub-monthly@.timer
  /usr/lib/systemd/system/zfs-volumes.target
  /usr/lib/systemd/system-preset/50-zfs.preset
  /usr/lib/modules-load.d/zfs.conf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
zfs: 42 installed and not shipped files. [installed-vs-shipped]

when libdir is /usr/lib64 with multilib.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-04 15:34:11 -07:00
Khem Raj
7ecfc79573 zfs: Update to 2.1.9
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-02 21:36:54 -08:00
Bruce Ashfield
174f2ea5f3 zfs: update to 2.1.7
Bumping zfs to fix builds for 6.x+ kernel versions (and libc-headers),
and we also pickup the following commits:

    21bd76613 Tag zfs-2.1.7
    7819b12f2 zfs-2.1.7: Use ubuntu-20.04 for zloop and sanity builders
    c8d2ab05e Fix setting the large_block feature after receiving a snapshot
    2c50512ad Make autodetection disable pyzfs for kernel/srpm configurations
    c4468a70c Don't leak packed recieved proprties
    e48aaef89 Fix NULL pointer dereference in dbuf_prefetch_indirect_done()
    0e3abd299 Lua: Fix bad bitshift in lua_strx2number()
    3d1e80809 Fix clang 13 compilation errors
    108c07c65 Remove final K&R definitions
    32f7499ac module: zfs: vdev_removal: remove unused num_indirect
    670d66e7a tests: cmd: draid: remove unused and undocumented -v
    ad0379bf0 linux: libspl: zone: () -> (void)
    2662b8e72 Correct multipathd.target to .service
    fa7d572a8 Handle and detect #13709's unlock regression (#14161)
    d9de079a4 Fix arc_p aggressive increase
    957c3776f FreeBSD: Fix out of bounds read in zfs_ioctl_ozfs_to_legacy()
    85537f77a Expose zfs_vdev_open_timeout_ms as a tunable
    5f53a444b Remove an unused variable
    572bd18c1 Make 1-bit bitfields unsigned
    256b74d0b Address warnings about possible division by zero from clangsa
    ac01b876c Avoid null pointer dereference in dsl_fs_ss_limit_check()
    e9a8fb17b Fix too few arguments to formatting function
    52e658edd Remove zpl_revalidate: fix snapshot rollback
    4c59fde1f Fix theoretical use of uninitialized values
    3830858c5 Fix memory leaks in dmu_send()/dmu_send_obj()
    af2e53f62 Fix possible NULL pointer dereference in sha2_mac_init()
    89c41f397 set_global_var() should not pass NULL pointers to dlclose()
    409c99a1d Fix NULL pointer dereference in spa_open_common()
    bbec0e60a Fix NULL pointer passed to strlcpy from zap_lookup_impl()
    a5f17a94d fm_fmri_hc_create() must call va_end() before returning
    5eaad8bdb Fix NULL pointer dereference in zdb
    4351d18fb ZED: Fix uninitialized value reads
    2453f9035 Fix theoretical array overflow in lua_typename()
    d016ca1a9 Fix potential NULL pointer dereference in lzc_ioctl()
    d05f247ae scripts/enum-extract.pl should not hard code perl path
    fa74250cd PAM: Fix unchecked return value from zfs_key_config_load()
    c562bbefc Fix potential NULL pointer dereference in dsl_dataset_promote_check()
    d4df36de5 Fix unreachable code in zstreamdump
    531361114 PAM: Fix uninitialized value read
    e11c4327f set_global_var_parse_kv() should pass the pointer from strdup()
    fbe150fe5 Call va_end() before return in zpool_standard_error_fmt()
    1ff8f4185 Fix potential NULL pointer dereference in zfsdle_vdev_online()
    c6d93d0a8 FreeBSD: Fix uninitialized pointer read in spa_import_rootpool()
    9f1691a96 Linux: Fix use-after-free in zfsvfs_create()
    12b859c97 Fix null pointer dereferences in PAM
    39a39b8ab Handle ECKSUM as new EZFS_CKSUM ‒ "insufficient replicas"
    1d5e569a6 Fix use-after-free bugs in icp code
    3f380df77 Remove incorrect free() in zfs_get_pci_slots_sys_path()
    b247d47be Cleanup: Make memory barrier definitions consistent across kernels
    792825724 zpool_load_compat() should create strings of length ZFS_MAXPROPLEN
    ab22031d7 icp: fix all !ENDBR objtool warnings in x86 Asm code
    33bc03dea icp: fix rodata being marked as text in x86 Asm code
    ee93cbc9d icp: properly fix all RETs in x86_64 Asm code
    1d9aa838e libzfs recv: Check if user prop before inheritable
    0f4ee295b dsl_prop_known_index(): check for invalid prop
    8c0684d32 zed: Avoid core dump if wholedisk property does not exist
    ca3a675c7 zed: Prevent special vdev to be replaced by hot spare
    cd1f02384 Deny receiving into encrypted datasets if the keys are not loaded (#14139)
    b27c7a145 zil: Relax assertion in zil_parse
    186e39f33 quota: extend quota for dataset
    1d2b0563f Fix ARC target collapse when zfs_arc_meta_limit_percent=100
    8929355b4 Propagate extent_bytes change to autotrim thread
    212ba9bd9 Linux 6.1 compat: change order of sys/mutex.h includes
    7ce097c87 Linux 6.0 compat: META
    3e767e34b Linux compat: fix DECLARE_EVENT_CLASS() test when ZFS is built-in
    df000276b zfs_domount: fix double-disown of dataset / double-free of zfsvfs_t
    7a1b6c51d Linux: Remove ZFS_AC_KERNEL_SRC_MODULE_PARAM_CALL_CONST autotools check
    4dd9c3b08 CI: bump actions/upload-artifact to v3
    1bbc09e1f CI: bump actions/checkout to v3
    37d5a3e04 Stop ganging due to past vdev write errors
    25096e118 zvol_wait logic may terminate prematurely
    820edcbf9 Remove ambiguity on demand vs prefetch stats reported by arc_summary
    37763ea2a Fix panic in dsl_process_sub_livelist for EINTR
    c8d6a91a9 Bring per_txg_dirty_frees_percent back to 30
    7ac732b8d Add options to zfs redundant_metadata property
    04f1983aa FreeBSD: vn_flush_cached_data: observe vnode locking contract
    4e3fecbdf FreeBSD: Fix a pair of bugs in zfs_fhtovp()
    fc1c0053f Fix sequential resilver drive failure race condition
    779597568 contrib: dracut: zfs-snapshot-bootfs: exit status fix
    3b935cc3e contrib: dracut: zfs-{rollback,snapshot}-bootfs: explicit snapname fix
    b0bc88239 kcfpool_alloc() should have its argument list marked void
    8cf59e97c etc: mask zfs-load-key.service
    4d22befde initramfs: use `mount.zfs` instead of `mount`
    6a6bd4939 Tag zfs-2.1.6
    566e908fa Fix bad free in skein code
    a2705b1dd zpool: Don't print "repairing" on force faulted drives
    63d4838b4 FreeBSD: handle V_PCATCH
    eec942cc5 FreeBSD: catch up to 1400068
    2c8e3e4b2 FreeBSD: stop passing LK_INTERLOCK to VOP_LOCK
    55816c64d FreeBSD: Fix integer conversion for vnlru_free{,_vfsops}()
    8dcd6af62 FreeBSD: Ignore symlink to i386 includes
    c973929b2 LUA: Fix CVE-2014-5461
    835e03682 Linux: Fix uninitialized variable usage in zio_do_crypt_data()
    33223cbc3 Refactor Log Size Limit
    91e02156d Revert "Reduce dbuf_find() lock contention"
    b66f8d3c2 Add zfs_btree_verify_intensity kernel module parameter
    5096ed31c Fix incorrect size given to bqueue_enqueue() call in dmu_redact.c
    035e52f59 Delay ZFS_PROP_SHARESMB property to handle it for encrypted raw receive
    d5105f068 zfs recv hangs if max recordsize is less than received recordsize
    faa1e4082 include: move SPA_MINBLOCKSHIFT and zio_encrypt to sys/fs/zfs.h
    44cec45f7 Improve too large physical ashift handling
    ebbbe01e3 Ask libtool to stop hiding some errors
    d05f3039f Add Module Parameter Regarding Log Size Limit
    999830a02 Optimize txg_kick() process (#12274)
    a5b0d4254 zfs recv hangs if max recordsize is less than received recordsize
    cde04badd make DMU_OT_IS_METADATA and DMU_OT_IS_ENCRYPTED return B_TRUE or B_FALSE
    3f7c174b5 vdev_draid_lookup_map() should not iterate outside draid_maps
    03fa3ef26 Add physical device size to SIZE column in 'zpool list -v'
    8bd3dca9b Introduce a tunable to exclude special class buffers from L2ARC
    c8f795ba5 config: check for parallel(1), use it for cstyle
    7bbfac9d0 zed: Fix config_sync autoexpand flood
    2010c183b Add xattr_handler support for Android kernels
    aa9e887d2 Fix column width in 'zpool iostat -v' and 'zpool list -v'
    78206a2e4 FreeBSD: Mark ZFS_MODULE_PARAM_CALL as MPSAFE
    b6ebf270e Apply arc_shrink_shift to ARC above arc_c_min
    15b64fbc9 Importing from cachefile can trip assertion
    b1be0a5c1 ZTS: Fix zpool_expand_001_pos
    65f8f92d1 zed: Look for NVMe DEVPATH if no ID_BUS
    acd746463 zed: Ignore false 'atari' partitions in autoreplace
    f48d9b426 rpm: Silence "unversioned Obsoletes" warnings on EL 9
    e1b49e3f1 rpm: Use the correct version-release information in dependencies
    8131a9654 Fix use-after-free in btree code
    979fd5a43 contrib: dracut: zfs-snapshot-bootfs: exit status fix
    533779f5f arcstat: fix -p option
    db5fd16f0 Fix problem with zdb_objset_id test.
    e0dbab1a1 Linux 6.0 compat: register_shrinker() now var-arg
    4063d7b6b Linux 5.20 compat: blk_cleanup_disk()
    58571ba44 Linux 5.20 compat: bdevname()
    57e1052d3 Linux 5.19 compat: META
    fcbddc7f7 Fix problem with zdb -d
    b06aff105 Fix checkstyle warning: E275 missing whitespace after keyword
    035ee628c Revert behavior of 59eab109 on not-Linux
    5c56591b5 Handle partial reads in zfs_read
    17512aba0 module: lua: ldo: fix pragma name
    98315be03 ZTS: Fix io_uring support check
    69ad0bd76 Fix objtool: missing int3 after ret warning
    b9d862f2d ICP: Add missing stack frame info to SHA asm files
    d2ff2196a Fix -Wformat-overflow warning in zfs_project_handle_dir()
    d483ef374 Fix -Wformat-truncation warning in upgrade_set_callback()
    60f2cfd24 Fix -Wuse-after-free warning in dbuf_destroy()
    6a8117302 Fix -Wuse-after-free warning in dbuf_issue_final_prefetch_done()
    087f5dedd Fix -Wattribute-warning in dsl layer
    c771583f2 Fix -Wattribute-warning in edonr
    ef0e506f4 Fix -Wattribute-warning in zfs_log_xvattr()
    d7a8c573c Silence -Winfinite-recursion warning in luaD_throw()
    2d235d58f config: prune unused -Wno-bool-compare checks
    37430e821 libtpool: -Wno-clobbered
    4b0977027 Remove sha1 hashing from OpenZFS, it's not used anywhere.
    15868d3ec Fix scrub resume from newly created hole.
    bbb50e612 Avoid memory copy when verifying raidz/draid parity
    03e33b2bb Avoid memory copies during mirror scrub
    4b8f16072 Fix and disable blocks statistics during scrub
    5e06805d8 Avoid two 64-bit divisions per scanned block
    dc91a6a66 Several B-tree optimizations
    a861aa2b9 Several sorted scrub optimizations
    881249de6 FreeBSD: Improve crypto_dispatch() handling
    916d9de15 Reduce ZIO io_lock contention on sorted scrub
    813e15f28 AVL: Remove obsolete branching optimizations
    884364ea8 More speculative prefetcher improvements
    6e1e90d64 Improve mg_aliquot math
    dd9c110ab Improve log spacemap load time
    fdb80a230 Add more control/visibility to spa_load_verify().
    72a4709a5 spa.c: Replace VERIFY(nvlist_*(...) == 0) with fnvlist_* (#12678)
    415882d22 Avoid small buffer copying on write
    5b860ae1f Remove refcount from spa_config_*()
    3920d7f32 Scrub mirror children without BPs

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-12-15 07:47:17 -08:00
Bruce Ashfield
9ef040501e zfs: update to v2.1.5
Updating to 2.1.5 primarily for kernel 5.19+ support. We refresh
one patch, and pick up the following changes:

Changes
  - Remove install of zfs-load-module.service for dracut #13574
  - FreeBSD: Silence clang unused-but-set-variable
  - Improve sorted scan memory accounting #13537
  - Corrected edge case in uncompressed ARC->L2ARC handling #13375
  - Remove wrong assertion in log spacemap #13486 #13513
  - libzfs: Fail making a dataset handle gracefully #13077
  - libzfs: mount: don't leak mnt_param_t if mnt_func fails #12968
  - Reject zfs send -RI with nonexistent fromsnap #12574 #12575
  - Linux 5.18 compat: META #13527
  - autoconf: AC_MSG_CHECKING consistency #13529
  - Linux 5.19 compat: asm/fpu/internal.h #13529
  - Linux 5.19 compat: zap_flags_t conflict #13515
  - Linux 5.19 compat: bdev_start_io_acct() / bdev_end_io_acct() #13515
  - Linux 5.19 compat: aops->read_folio() #13515
  - Linux 5.19 compat: blkdev_issue_secure_erase() #13515
  - Linux 5.19 compat: bdev_max_secure_erase_sectors() #13515
  - Linux 5.19 compat: bdev_max_discard_sectors() #13515
  - Linux 5.18 compat: bio_alloc() #13515
  - Silence unused-but-set-variable warning #13507
  - zed: support subject as header in zed_notify_email() #13440
  - rpm: Keep debug symbols if configured with '--enable-debuginfo' #13500
  - FreeBSD: libspl: Add locking around statfs globals #13484
  - Standardize RHEL version check in packages #13501
  - Modified ncompress requirement in RPM to exclude RHEL9 #13480 #13490
  - zed: Take no action on scrub/resilver checksum errors #13499
  - zdb: Fix handling of nul termination in symlink targets #13482
  - automake: don't install /e/d/zfs or /e/z/zfs-functions +x #13496
  - Multiple dracut module install script cleanups #13010
  - Remove absolute paths to udev rules and binaries for dracut #13010
  - Make dracut fail if essential files cannot be installed #13010
  - Make better use of dracut functions when building initramfs #13010
  - Fix compiler warnings about zero-length arrays in inline bitops #13463 #13465
  - Add missing AC_MSG_RESULT(no) to configure #13454
  - abd_os: remove redundant refcount creation for abd_children #13429
  - Fix functions without a prototype #13421
  - FreeBSD: use zero_region instead of allocating a dedicated page #13406
  - autoconf: Fail when __copy_from_user_inatomic is a non-GPL symbol #13389
  - PPC get_user workaround #11958 #12590 #13367
  - Adding ZERO_PAGE detection #13199
  - autoconf: Pretend CONFIG_MODULES is always on
  - kbuild: unify modules(_install) for in-tree and external modules #10832 #13361
  - Strengthen Linux kernel capabilities detection #13351
  - zvol_wait: Ignore locked zvols #10662
  - FreeBSD: Implement hole-punching support #12458
  - module: zstd: check we don't leak symbols; regenerate symbol map #12988 #13209
  - man: zpool-import.8: -d -or -c #13437
  - Reduce dbuf_find() lock contention #13405
  - contrib: dracut: remove getargbool polyfill #13291
  - Add dracut.zfs.7 #13291
  - contrib: dracut: zfs-needshutdown: don't list #13291
  - contrib: dracut: zfs-{rollback,snapshot}-bootfs: order after key loading #13291
  - contrib: dracut: don't require essentials to be under the same encroot #13291
  - contrib: dracut: inline single-use import_pool, move single-use ask_for_password #13291
  - contrib: dracut: zfs-lib: remove find_bootfs #13291
  - contrib: dracut: zfs-lib: simplify ask_for_password #13291
  - contrib; dracut: flatten zfs-load-key, simplify zfs-env-bootfs #13291
  - contrib; dracut: centralise root= parsing, actually support root=s #13291
  - contrib: dracut: parse-zfs: stop pretending we support FILESYSTEM= #13291
  - contrib: dracut: parse-zfs: drop initqueue-finished for i/f #13291
  - contrib/dracut: zfs-lib: export_all: replace with inline zpool export -a #13093
  - Remove REMAKE_INITRD #12781
  - Python 3.10 fixes, part 2 #12045 #12673
  - Silence unused-but-set-variable warnings
  - module: zfs: freebsd: fix unused, remove argsused #12844
  - FreeBSD: remove unused variable
  - zvol: remove unused variable #12917
  - fm: remove unused variables #12917
  - zvol: remove unused variable #12917
  - module/zfs: vdev_removal: spa_vdev_remove_thread: remove unused variable #12187
  - module/zfs: vdev_indirect: vdev_indirect_repair: remove unused variable #12187
  - module/zfs: dbuf: dbuf_read_impl: remove unused variable #12187
  - module/zfs: arc: arc_hdr_realloc_crypt: remove unused variables #12187
  - libzfs: zfs_send: remove unused variable #12187
  - libzutil: zpool_find_config: remove unused variable #12187
  - Skip spacemaps reading in case of pool readonly import #9095 #12687
  - zfs: holds: dequadratify #13372 #13373
  - Linux 5.18 compat: replace __set_page_dirty_nobuffers #13325 #13380
  - Fix O_APPEND for Linux 3.15 and older kernels #13370 #13377
  - Linux 5.18 compat: kobj_type.default_attrs replaced with default_groups #13357
  - FreeBSD: Fix translation from ABD to physical pages.
  - Corrected oversight in ZERO_RANGE behavior #13329 #13338
  - Document zfs inherit -S's interaction with noninheritable properties #11894 #13335
  - Linux 5.17 compat: GENHD_FL_EXT_DEVT / GENHD_FL_NO_PART_SCAN #13294 #13297
  - FreeBSD: Return Mach error codes from VOP_(GET|PUT)PAGES #13311
  - FreeBSD: Parameterize ZFS_ENTER/ZFS_VERIFY_VP with an error code #13311
  - libzfs: import: zpool_clear_label: actually fail if clearing l2arc header fails #13304
  - libzfs: sendrecv: always cancel progress thread in zfs_send_one() #11560 #13284
  - Linux 5.18 compat: use address_space_operations->readahead #13278
  - Linux 5.18 compat: blkg_tryget is moved to private headers #13278
  - Linux 5.18 compat: replace genhd.h with blkdev.h includes #13251
  - Linux 5.18 compat: 4-argument bio_alloc() #13251
  - FreeBSD: Use NDFREE_PNBUF if available #13277
  - Export minimal zfs_refcount interfaces #12613
  - Default to zfs_dmu_offset_next_sync=1 #12746
  - etc/systemd/zfs-mount-generator: serialise, handle keylocation=http[s]:// #12138
  - libzfs: diff: stream_bytes: use fputc, %hho formats chars #12829
  - zfs, libzfs: diff: accept -h/ZFS_DIFF_NO_MANGLE, disabling path escaping #12829

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-08 11:38:15 -07:00
Khem Raj
48515bae74 zfs: Make systemd and sysvinit into packageconfigs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-07 18:47:16 -07:00
Khem Raj
a7c3aacb09 zfs: Disable on mips
Fails to build on mips at this time, if someone provides fixes it can be
enabled then

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-07 18:47:16 -07:00
Khem Raj
f53c26a3ee zfs: Disable on riscv32
Its not yet ported for this architecture

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-07 12:47:48 -07:00
Khem Raj
e1ccf12c15 zfs: Fix build on musl systems
musl does not provide strndupa

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Windel Bouwman <windel@windel.nl>
2022-05-07 12:20:16 -07:00
Windel Bouwman
da8a50684a Add zfs recipe
Signed-off-by: Windel Bouwman <windel@windel.nl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-06 09:21:39 -07:00