Actions
Bug #50305
closedMDS doesn't set fscrypt flag on new inodes with crypto context in xattr buffer
% Done:
0%
Source:
Development
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The new fscrypt context handling code will set the "fscrypt" flag when the encryption.ctx xattr is set explicitly, but it does not set it on new inodes that have a crypto context in the xattr blob from the client. Fix it to look for the encryption.ctx xattr on new inodes and set the flag appropriately.
Actions