ceph+fscrypt: add fscrypt support
JIRA: https://issues.redhat.com/browse/RHEL-19813
Add ceph fscrypt feature support. This will also backport the latest fs-crypt patches together.
In upstream there still some patches not applied and need to wait for days.
commit acfaf945 Author: Xiubo Li xiubli@redhat.com Date: Tue Dec 12 12:11:41 2023 +0800
ceph: implement -o test_dummy_encryption mount option
JIRA: https://issues.redhat.com/browse/RHEL-19542
commit 6b5717bd30ab7f35792d20b71211055bdb43e6de
Author: Jeff Layton <jlayton@kernel.org>
Date: Tue Sep 8 09:47:40 2020 -0400
ceph: implement -o test_dummy_encryption mount option
Add support for the test_dummy_encryption mount option. This allows us
to test the encrypted codepaths in ceph without having to manually set
keys, etc.
[ lhenriques: fix potential fsc->fsc_dummy_enc_policy memory leak in
ceph_real_mount() ]
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-and-tested-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Xiubo Li xiubli@redhat.com
Related to RHEL-19813