Sign in

← Software

xattr=sa (system-attribute extended attributes)

titlexattr=sa (system-attribute extended attributes)
recommendationconsider
directionopenzfs-only
areaintegration
feature flag
openzfs version
summaryOpenZFS can store small xattrs in the dnode's system-attribute area (xattr=sa; ZPL_DXATTR), and xattr=sa has been the default since 2.3.0. The illumos xattr property is only on|off, and its ZFS code has no ZPL_DXATTR.
impactNot a feature flag, so pools import, but xattrs that Linux wrote as SA are expected to be invisible on Solnix (inferred from code; not tested). Some files may look different after a move.
whyRead support for SA xattrs would make Linux-created pools behave correctly; zilsaxattr goes with it. The illumos xattr model (fsattr/openat) needs a mapping.
effortmedium
sourceshttps://github.com/openzfs/zfs/blob/c913da86156eba3243cc1ef515e98d69887654a7/module/zfs/zfs_sa.c
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/common/zfs/zfs_prop.c
https://github.com/openzfs/zfs/blob/c913da86156eba3243cc1ef515e98d69887654a7/module/zcommon/zfs_prop.c
https://github.com/openzfs/zfs/commit/e419a63bf4cd6abb58e392b4341a8057c4481dba

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.