-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore aclmode and remove acltype on FreeBSD #9913
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9913 +/- ##
========================================
+ Coverage 79% 79% +<1%
========================================
Files 384 384
Lines 121788 121788
========================================
+ Hits 96645 96675 +30
+ Misses 25143 25113 -30
Continue to review full report at Codecov.
|
This replaces the placeholder ZFS_PROP_PRIVATE with ZFS_PROP_ACLMODE, matching what is done in the NFSv4 ACLs PR (openzfs#9709). On FreeBSD we hide ZFS_PROP_ACLTYPE, while on Linux we hide ZFS_PROP_ACLMODE. The tests already assume this arrangement. Signed-off-by: Ryan Moeller <[email protected]>
080edcc
to
fc386c7
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd originally delayed making this change since some additional changes in #9709 are required to actually support "aclmode". But since this doesn't really change anything on the Linux side, and we're considerably father along with the FreeBSD work, I agree we can go ahead with this change now.
This replaces the placeholder ZFS_PROP_PRIVATE with ZFS_PROP_ACLMODE, matching what is done in the NFSv4 ACLs PR (openzfs#9709). On FreeBSD we hide ZFS_PROP_ACLTYPE, while on Linux we hide ZFS_PROP_ACLMODE. The tests already assume this arrangement. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes openzfs#9913
Motivation and Context
Linux at some point dropped the aclmode property and added acltype.
A placeholder ZFS_PROP_PRIVATE was put in place of ZFS_PROP_ACLMODE.
On FreeBSD we support the aclmode property, not acltype.
Description
This patch replaces the placeholder ZFS_PROP_PRIVATE with ZFS_PROP_ACLMODE, matching what is done in the NFSv4 ACLs PR (#9709).
On FreeBSD we hide ZFS_PROP_ACLTYPE, while on Linux we hide ZFS_PROP_ACLMODE.
The tests already assume this arrangement.
How Has This Been Tested?
I ran the zfs_get tag of tests manually, full ZTS run looks clean.
Types of changes
Checklist:
Signed-off-by
.