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
ctime not consistently updated for xattr updates #3644
Comments
|
The same behaviour happens without xattr=sa too. |
|
Looking at this with relatively little prior knowledge it seems to me that zpl_xattr_set should probably always update ctime. |
Fabian-Gruenbichler
pushed a commit
to Fabian-Gruenbichler/zfs
that referenced
this issue
Sep 29, 2017
Changing any metadata, should modify the ctime. Reviewed-by: Chunwei Chen <tuxoko@gmail.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: gaurkuma <gauravk.18@gmail.com> Closes openzfs#3644 Closes openzfs#6586
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I create a file then add 2 ACLs to it using setfacl I get inconsistent updates of the ctime attribute.
I did the following:
zfs create tank/fs
zfs set xattr=sa tank
zfs set acltype=posixacl tank
touch /tank/fs/testfile
stat /tank/fs/testfile
setfacl -m u:user0:rwx /tank/fs/testfile
stat /tank/fs/testfile
setfacl -m u:user1:rwx /tank/fs/testfile
stat /tank/fs/testfile
I see the ctime changes between the first two stat outputs but not in the third.
The text was updated successfully, but these errors were encountered: