Investigate automatically forcing xattr_fallback=on so it can be off by default

Description

I know for sure there are cases where we can't know the optimal thing to do, such as when we've received a dataset without the property or when we've imported a pool without the property. There's no way I can think of to determine a priori which way the xattrs are named in these cases, and in fact there could be both formats present in the same dataset. Being able to read both by default ensures the user does not unwittingly lose their xattrs. xattr_fallback won't cause the xattr_compat feature to become active.

I'm not very familiar with the DSL part of ZFS yet, which is where I think I'll need to be working to figure out if we can safely disable fallback automatically, or rather, to be able to know when we need to force xattr_fallback=on so we can change the default to xattr_fallback=off. I'm still getting up to speed in this area.

Problem/Justification

None

Impact

None

relates to

Activity

Show:

Michelle Johnson 
July 11, 2022 at 3:27 PM

Thanks . I flagged it to investigate further as it read like there are behaviors we might need to document or explain, and it looked like using tunables might require some mention. Based on your feedback I’ll remove the flags. (labels)

Ryan Moeller 
July 11, 2022 at 2:26 PM

This probably doesn’t needs docs, because there is no new xattr_fallback property in the final version we released with.

Ryan Moeller 
November 11, 2021 at 7:18 PM

Performance optimizations are likely not worth it since we've already incurred the read penalty on the xattr list.

Ryan Moeller 
September 29, 2021 at 3:39 PM

There has been some good discussion on this and a few ideas tossed around in the comments on the xattr compat PR, but nothing implemented yet.

Complete

Details

Assignee

Reporter

Labels

Impact

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created July 15, 2021 at 5:33 PM
Updated July 11, 2022 at 3:27 PM
Resolved November 11, 2021 at 7:18 PM