OpenZFS: xattr=sa is ignored on FreeBSD

Description

FreeBSD does not read and write SA style xattrs, it simply treats xattr=sa as xattr=on and uses the xattr dir. We set xattr=sa by default in TrueNAS. The xattrs written on SCALE will therefore not be accessible on FreeBSD. Linux does fall back to the xattr dir when looking up xattrs, so xattrs written on CORE are still accessible on SCALE, they're just not stored in the expected way. The performance benefits of xattr=sa will therefore not be realized.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Ryan Moeller 
May 18, 2021 at 6:46 PM

This has been merged upstream and I've backported the commits to the truenas/zfs-2.1-release branch.

Ryan Moeller 
April 29, 2021 at 8:23 PM

Complete

Details

Assignee

Reporter

Labels

Impact

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created April 21, 2021 at 3:20 PM
Updated July 18, 2022 at 2:11 PM
Resolved May 18, 2021 at 6:46 PM