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>
This commit is contained in:
Bruce Ashfield 2023-12-29 22:15:57 -05:00 committed by Khem Raj
parent 2f4372ed70
commit 639d7378ce
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -4,7 +4,7 @@ LICENSE = "CDDL-1.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa"
HOMEPAGE ="https://github.com/openzfs/zfs"
SRCREV = "229ca7d738ccbf4c55076977467ee93e20b6f01b"
SRCREV = "494aaaed89cb9fe9f2da3b6c6f465a4bc9f6a7e1"
SRC_URI = "git://github.com/openzfs/zfs;protocol=https;branch=zfs-2.2-release \
file://0001-Define-strndupa-if-it-does-not-exist.patch \
file://aaf28a4630af60496c9d33db1d06a7d7d8983422.patch \
@ -16,7 +16,7 @@ S = "${WORKDIR}/git"
# Using both 'module' and 'autotools' classes seems a bit odd, they both
# define a do_compile function.
# That's why we opt for module-base, also this prevents module splitting.
inherit module-base pkgconfig autotools
inherit module-base pkgconfig autotools bash-completion
DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl"