github openzfsonwindows/openzfs zfswin-2.4.5rc1
zfs-windows-2.4.5rc1

pre-release4 hours ago

Changes from zfswin-2.4.4 to zfswin-2.4.5rc1

Windows

New

  • ARM64 now uses the CPU's vector and crypto instructions: SHA-256, SHA-512, BLAKE3,
    Fletcher4 and RAIDZ parity (previously plain C only).
  • AnyRAID vdevs are built into the driver, and the tray's create-pool dialog offers AnyMirror.
  • Root-on-ZFS in the driver: a ZFS root pool is imported and mounted when Windows asks for
    the boot partition (zfs_boot_import, off by default), with docs and two helper scripts.
    Fixes
  • x64: the vector code did not preserve XMM6-XMM15 across kfpu_begin()/kfpu_end(), which
    corrupted other kernel code. It showed as a BSOD in zio_done after a raidz2 resilver started.
  • A vector implementation chosen in the Registry (zfs_*_impl) was lost at the next restart.
  • zfs_vdev_raidz_impl was never applied from the Registry. It is now.
  • panic() passed its argument list on wrongly, so the message could be garbled.
    Housekeeping
  • Following upstream's changes (kfpu_ctx_t, umem removal, libspl/libefi headers, kstat string
    sizes, AES wrapper calling convention, objset holds, zfs_rename() flags, Direct I/O bounce
    flag), build files for new sources, style and licence-tag fixes.

Upstream OpenZFS (532 commits: ~335 code, 142 test suite, 47 CI, 8 unit/ztest)

New and changed

  • AnyRAID vdev type, plus its follow-up fixes.
  • zfs rewrite: new -W, and better -P handling (dedup, raw encrypted sends).
  • Direct I/O: a write that fails verification is redone from a private copy, EIO when no
    vdev can take a write, direct reads of blocks pending free fixed.
  • Cloning: sparse files clone in time proportional to their data; tail block clone past EOF.
  • zpool status -c phy, refreservation=auto for zfs create, quota changeable while over quota,
    vdev fragmentation reported properly, nvlist lookups use a hash table.
    Bugs fixed, the bigger ones
  • ZIL: commits no longer acknowledged after a failed log block, replay of indirect/split
    writes, a deadlock and a suspended-pool wait.
  • Deduplication: DDT pruning removing entries still in use, a scrub skipping a dedup block,
    dedup copies written from the wrong data, a NULL dereference in DDT repair.
  • RAIDZ expansion: a run of fixes (locking, rows not yet reflowed, repairs during expansion,
    scratch area, what an expansion may start on).
  • Send/receive: corrective receive of zstd blocks, resumed -L and large-block sends, embedded
    write records, uncompressed ARC data sent as compressed, user accounting after incremental
    receives into encrypted datasets.
  • Encryption: ARC authentication, L2ARC writing buffers with a different MAC, holding an
    unmounted encrypted filesystem.
  • ARC/L2ARC: a use-after-free on a synchronous L2ARC read retry.
  • Pool suspension: places that hung or spun on a suspended pool (spa_namespace_lock,
    spa_vdev_state_exit(), the txg sync thread, DMU_TX_NOWAIT callers, zil_create()).
  • Scrub/resilver/rebuild/removal: a scan-prefetch shutdown race, gang blocks in sorted scrubs,
    stale data in a rebuild, removing a mirror whose child is resilvering.
  • Space accounting and ZAP: checkpointed frees, checkpoint space on parallel load, zap_trunc()/
    zap_shrink().
  • Memory safety and input checks: dbuf dirty-record locking, an out-of-bound access in
    receive_spill, unterminated string fields in zfs_cmd_t, clone names, user quota ids.
    Cleanup and infrastructure
  • libspl (atomics as inlines, thread rewrite, unused headers removed); umem replaced by
    kmem/kmem_cache/vmem; gettext/libintl removed; ~a dozen SPL headers removed.
  • kstat/zfs_file fixes, build, rpm, man pages, docs; tests and CI.
  • About 60 changes are Linux, FreeBSD or packaging specific and do not affect Windows.

Don't miss a new openzfs release

NewReleases is sending notifications on new releases.