OpenZFS has released version 2.4.0, adding compatibility with Linux kernels 4.18 through 6.19 and FreeBSD releases 13.3+ and 14.0+. The update resolves several compatibility issues with the latest kernel versions, including fixes for duplicate GCM assembly functions in Linux 6.19 in-tree builds and handling for CONFIG_OBJTOOL_WERROR configurations.
The release improves deduplication performance by moving log searches out of locks and switching to more efficient ZAP interfaces, while caching improvements for database buffer prefetches should boost read performance. Storage management gets several refinements, including fixes for available space accounting with special devices and deduplication, better handling of transaction group flushing, and reduced buffer re-dirtying for datasets.
Administrators will benefit from bug fixes across the board, including corrections to the send:raw permission handling for encrypted sends, proper feature activation when receiving streams with large blocks, and resolved issues with microzap activation during receives. The update also reduces minimal scrub and resilver times while using reduced precision for scan time calculations, making pool maintenance operations more responsive on modern hardware.