-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZFS incorrectly uses directory-based extended attributes even when xattr=sa is specified as a dataset property or mount option. Support to honor temporary mount options including "xattr" was added in commit 0282c41. There are two issues with the mount option handling: * Libzfs has historically included "xattr" in its list of default mount options with no value specified. Omitting the value implies xattr=on or directory-based xattrs, so the dataset is configured to use directory-based xattrs regardless of the xattr dataset property value. Address this by removing "xattr" from the list of default mount options. * The option parser incorrectly treats the xattr mount option as a boolean value. Even if xattr=sa is specified, the parser translates that to xattr=on. Address this by treating the option as a scalar value. Issue #3787 Signed-off-by: Ned Bass <bass6@llnl.gov>
- Loading branch information
Showing
3 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters