Project

General

Profile

Bug #50305

MDS doesn't set fscrypt flag on new inodes with crypto context in xattr buffer

Added by Jeff Layton about 1 month ago. Updated 13 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% 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.


Related issues

Copied to CephFS - Backport #50391: pacific: MDS doesn't set fscrypt flag on new inodes with crypto context in xattr buffer Rejected

History

#1 Updated by Patrick Donnelly about 1 month ago

  • Status changed from New to Pending Backport
  • Target version set to v17.0.0
  • Source set to Development
  • Backport set to pacific
  • Pull request ID set to 40828
  • Component(FS) MDS added

#2 Updated by Backport Bot about 1 month ago

  • Copied to Backport #50391: pacific: MDS doesn't set fscrypt flag on new inodes with crypto context in xattr buffer added

#3 Updated by Loïc Dachary 13 days ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF