diff options
author | Ryan Moeller <[email protected]> | 2021-04-29 03:27:57 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-05-13 15:14:12 -0700 |
commit | 210231ede0ecef5aa2c49db0366742bafaecde2c (patch) | |
tree | 41aa4262cd23af358e61f67291b7a1f9dbd9c1df /module/zfs | |
parent | d86debf5762c0d18574af67407f4c99fd9aaec3a (diff) |
FreeBSD: Implement xattr=sa
FreeBSD historically has not cared about the xattr property; it was
always treated as xattr=on. With xattr=on, xattrs are stored as files
in a hidden xattr directory. With xattr=sa, xattrs are stored as
system attributes and get cached in nvlists during xattr operations.
This makes SA xattrs simpler and more efficient to manipulate. FreeBSD
needs to implement the SA xattr operations for feature parity with
Linux and to ensure that SA xattrs are accessible when migrated or
replicated from Linux.
Following the example set by Linux, refactor our existing extattr vnops
to split off the parts handling dir style xattrs, and add the
corresponding SA handling parts.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #11997
Diffstat (limited to 'module/zfs')
0 files changed, 0 insertions, 0 deletions