mwatts(a)redhat.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1221499?usp=email )
Change subject: CEPH FSAL / CEPHFS: fscrypt support
......................................................................
CEPH FSAL / CEPHFS: fscrypt support
Include linux/fscrypt.h in a bunch of places. Whether
this is actually required may depend on the version of linux,
but it never hurts.
In this implementation, the key is always added, and
then the "kid" that is derived from the key is used to set
the fscrypt policy. This catches errors for when the
volume is encrypted, but with a different key.
There are no provisions in this version to remove keys;
so they will persist until ganesha is restarted.
ALSO NOTE: there are no provisions for to see if the relevant calls
are in ceph - so this requirse a version of ceph that includes
fscrypt support.
Change-Id: I2a4d7ff38d6bcc11c969a6b21354120eddb140e1
Signed-off-by: Marcus Watts <mwatts(a)redhat.com>
---
M src/CMakeLists.txt
M src/FSAL/FSAL_CEPH/ds.c
M src/FSAL/FSAL_CEPH/export.c
M src/FSAL/FSAL_CEPH/handle.c
M src/FSAL/FSAL_CEPH/internal.c
M src/FSAL/FSAL_CEPH/internal.h
M src/FSAL/FSAL_CEPH/mds.c
M src/FSAL/FSAL_CEPH/statx_compat.c
M src/cmake/modules/FindCEPHFS.cmake
M src/include/config-h.in.cmake
M src/tools/multilock/ml_cephfs_client.c
11 files changed, 123 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/99/1221499/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1221499?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I2a4d7ff38d6bcc11c969a6b21354120eddb140e1
Gerrit-Change-Number: 1221499
Gerrit-PatchSet: 1
Gerrit-Owner: mwatts(a)redhat.com