Page 1 of 1

zfs-macOS-2.2.3rc4 release

PostPosted: Mon Mar 04, 2024 9:30 pm
by lundman
Announcing the release of zfs-macOS-2.2.3 it is fairly close to upstream OpenZFS-2.2.3


** Changes since zfs-macOS-2.2.3rc3:

Code: Select all
* CPUID order fix (Intel)


Needed a little more work, panic in sysctl.


** Changes since zfs-macOS-2.2.3rc2:

Code: Select all
* CPUID order fix (Intel)


The fixed CPUID code was not quite right, and we decided to clean it up. We already have a
nice cpuid code that was commented out for KERNEL code by the Linux developers, to use the
Linux API instead. But macOS does not have an API we can call, so we might as well use it for both.
This makes it much easier to read, and it is correct.

Please verify it is correct on your Intel hardware.

On load, it will print something similar to:

Code: Select all
<zfs`spl_start (spl-osx.c:463)> SPL: loading
<zfs`spl_processor_init (spl-processor.c:158)> CPUID: osxsave sse sse2 sse3 ssse3 sse4.1 sse4.2
<zfs`spl_processor_init (spl-processor.c:166)> CPUID: avx avx2 aes pclmulqdq movbe
<zfs`org_openzfsonosx_zfs_zvol::start(IOService*) (zfs_osx.cpp:0)> ZFS: Loaded module v2.2.3-rc2, ZFS pool version 5000, ZFS filesystem version 5


Which can be verified with the userland command "sysctl hw", for example:

Code: Select all
# sysctl hw
hw.optional.aes: 1
hw.optional.avx1_0: 1
hw.optional.avx2_0: 1
hw.optional.avx512f: 0
[snip]


** Changes since zfs-macOS-2.2.3rc1:

Code: Select all
* CPUID order fix (Intel)

Fetching CPUID features used incorrect register order, which meant old Intel would
attempt to use AESNI/PCLQMUL when not available, causing panic.
Potentially new Intel might not think those were available, using generic versions.
No changes to ARM64, use rc1.

** Changes since zfs-macOS-2.2.2:

Code: Select all
* Tunable: "zfs_bclone_wait_dirty" set to wait instead of error from clonefile.
* DDT work (memory reduction, speedup)
* zfs list: add '-t fs' and '-t vol' options
* Add slow disk diagnosis to ZED
* Add 'zpool status -e' flag to see unhealthy vdevs
* BRT: Fix FICLONE/FICLONERANGE shortened copy
* (zpool: Add slot power control, print power status) not on macOS
* spa: make read/write queues configurable
* Allow block cloning across encrypted datasets
* chatGPT auto generates humorous filenames. [1]


[1] no.

**RC4:**
OpenZFSonOsX-2.2.3rc4-Catalina-10.15.pkg
(16.79 MiB) Downloaded 151 times

OpenZFSonOsX-2.2.3rc4-High.Sierra-10.13.pkg
(16.29 MiB) Downloaded 113 times


**RC3:**

OpenZFSonOsX-2.2.3rc3-Catalina-10.15.pkg
(16.79 MiB) Downloaded 133 times

OpenZFSonOsX-2.2.3rc3-High.Sierra-10.13.pkg
(16.29 MiB) Downloaded 129 times


**RC2:**

OpenZFSonOsX-2.2.3rc2-Catalina-10.15.pkg
(16.79 MiB) Downloaded 147 times

OpenZFSonOsX-2.2.3rc2-High.Sierra-10.13.pkg
(16.28 MiB) Downloaded 143 times


**RC1:**

OpenZFSonOsX-2.2.3rc1-Catalina-10.15.pkg
(16.79 MiB) Downloaded 153 times

OpenZFSonOsX-2.2.3rc1-Monterey-12-arm64.pkg
(18.82 MiB) Downloaded 158 times