zfs: merge openzfs/zfs@71c609852 (zfs-2.1-release) into stable/13
OpenZFS release 2.1.1
Notable upstream pull request merges:
#11997 FreeBSD: Don't force xattr mount option #11997 FreeBSD: Implement xattr=sa #11997 FreeBSD: Use SET_ERROR to trace xattr name errors #12022 Fix endianness issues with zstd #12161 Restore FreeBSD sysctl processing for arc.min and arc.max #12183 Optimize small random numbers generation #12246 arc: Drop an incorrect assert #12271 Tinker with slop space accounting with dedup #12279 Fix ARC ghost states eviction accounting #12281 Move gethrtime() calls out of vdev queue lock #12289 Compact dbuf/buf hashes and lock arrays #12294 Upstream: dmu_zfetch_stream_fini leaks refcount #12295 Fix abd leak, kmem_free correct size of abd_t #12297 Avoid vq_lock drop in vdev_queue_aggregate() #12299 file reference counts can get corrupted #12300 Introduce dsl_dir_diduse_transfer_space() #12314 Optimize allocation throttling #12320 FreeBSD: Use unmapped I/O for scattered/gang ABD buffers #12328 FreeBSD: Hardcode abd_chunk_size to PAGE_SIZE #12339 Read past end of argv array in zpool_do_import() #12348 Minor ARC optimizations #12365 Fixes in persistent L2ARC #12375 FreeBSD: Ignore make_dev_s() errors #12378 FreeBSD: Switch from MAXPHYS to maxphys on FreeBSD 13+ #12383 Fixes for KMSAN reports #12397 Run arc_evict thread at higher priority #12398 Remove b_pabd/b_rabd allocation from arc_hdr_alloc() #12422 Fix/improve dbuf hits accounting #12428 Fix unfortunate NULL in spa_update_dspace #12443 Fixed data integrity issue when underlying disk returns error #12446 Allow disabling of unmapped I/O on FreeBSD #12473 Initialize parity blocks before RAID-Z reconstruction benchmarking #12511 Make 'zpool labelclear -f' work on offlined disks #12514 FreeBSD: Don't remove SA xattr if not SA znode #12522 Compressed receive with different ashift can result in incorrect PSIZE on disk #12535 Verify embedded blkptr's in arc_read() #12541 Allow sending corrupt snapshots even if metadata is corrupted
Manually included upstream 2.1 backport pull request #12573:
#12282 FreeBSD: fix compilation of FreeBSD world after 29274c9
Obtained from: OpenZFS
OpenZFS commit: 71c6098526c6d5fbfa84a58cefe6cdc403488d8c
OpenZFS tag: zfs-2.1.1
Relnotes: yes