Sign in

← Software

Direct I/O (O_DIRECT, direct= property)

titleDirect I/O (O_DIRECT, direct= property)
recommendationconsider
directionopenzfs-only
areaperformance
feature flag
openzfs version2.3.0
summaryOpenZFS 2.3 honours O_DIRECT and adds a 'direct' dataset property (standard|always|disabled): reads and writes bypass the ARC when aligned, for fast NVMe and databases that cache themselves. illumos has neither dmu_direct.c nor the property.
impactSolnix databases (e.g. PostgreSQL) on NVMe pay ARC copy and eviction overhead that OpenZFS users can skip.
whyLarge and subtle (page-cache/mmap coherency, checksum semantics); worth it for the database/NVMe audience, but not before the correctness items.
effortlarge
sourceshttps://github.com/openzfs/zfs/blob/c913da86156eba3243cc1ef515e98d69887654a7/module/zcommon/zfs_prop.c
https://github.com/openzfs/zfs/commit/a10e552b9992673626f7a2ffcc234337f23410c9

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.