Project

General

Profile

Actions

Bug #50305

closed

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

Added by Jeff Layton about 3 years ago. Updated about 3 years 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 1 (0 open1 closed)

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

Also available in: Atom PDF