Skip to content

ZFS 2.4.0 fixes SQLite issue - daemon may no longer be needed #3036

@basnijholt

Description

@basnijholt

Good news! 🎉

In #952 (locked so posting new issue), @ellie mentioned:

We will likely consider deprecating + removing it as soon as the issue with ZFS is resolved

The ZFS issue has now been resolved. PR openzfs/zfs#17584 by Rob Norris (Klara, Inc. / Wasabi Technology, Inc.) was merged and included in ZFS 2.4.0 (released 2025-12-18):

Commit Description
fb7a8503bcfb Linux: zfs_putpage: complete async page writeback immediately
a18c9edda621 Linux: sync: remove async/sync accounting
c3496b5cc6f8 Linux: zfs_putpage: document (and fix!) confusing sync/commit modes
7ac5440ecf53 ZTS: mmap_ftruncate test to confirm async writeback behaviour

The fix unlocks pages immediately once data is in the DMU/ZIL, rather than waiting for the ZIL itx callback. This eliminates the ftruncate() blocking on mapped page writeback that caused 500ms-5s delays at every shell prompt.

Root cause: openzfs/zfs#14290

Users on ZFS 2.4.0+ should no longer need:

  • Atuin daemon mode
  • sync=disabled workaround
  • ext4 zvol workaround
  • zfs_txg_timeout tuning

Is deprecating the daemon still on the table?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions