encrypt: add ceph support
PATCH v3 1/1 encrypt: add ceph support
From: Xiubo Li <[email protected]>
This will enable ceph could run the fscrypt test cases, but not all. Some of them will be skipped because of not supporting features.
Here will just skip ceph in _scratch_mkfs_encrypted() and in _require_scratch_encryption() it will try to check "set_encpolicy" to make sure whether kernel ceph support the encryption or not.
---
V3:
- Add more commit comments.
common/encrypt | 3 +++ 1 file changed, 3 insertions(+)
common/encrypt +3 -0
@@ -153,6 +153,9 @@ _scratch_mkfs_encrypted() # erase the UBI volume; reformated automatically on next mount $UBIUPDATEVOL_PROG ${SCRATCH_DEV} -t ;; + ceph) + _scratch_cleanup_files + ;; *) _notrun "No encryption support for $FSTYP" ;;
Signature · 1 line
2.31.1
Quoted 9 lines · On Mon, Oct 31, 2022 at 04:38:19PM +0800, [email protected] wrote:
From: Xiubo Li <[email protected]>
This will enable ceph could run the fscrypt test cases, but not all. Some of them will be skipped because of not supporting features.
Here will just skip ceph in
_scratch_mkfs_encrypted()and in_require_scratch_encryption()it will try to check "set_encpolicy" to make sure whether kernel ceph support the encryption or not.
Quoted 6 lines
Reviewed-by Zorro Lang <[email protected]>Signed-off-by Xiubo Li <[email protected]>---
V3:
- Add more commit comments.
V2 patch has been merged and pushed.
Thanks,
Zorro
Quoted 22 lines
common/encrypt | 3 +++ 1 file changed, 3 insertions(+)common/encrypt +3
-0@@ -153,6 +153,9 @@ _scratch_mkfs_encrypted() # erase the UBI volume; reformated automatically on next mount $UBIUPDATEVOL_PROG ${SCRATCH_DEV} -t ;; + ceph) + _scratch_cleanup_files + ;; *) _notrun "No encryption support for $FSTYP" ;;Signature · 1 line
2.31.1
Quoted 10 lines · Zorro Lang
Quoted 9 lines · On Mon, Oct 31, 2022 at 04:38:19PM +0800, [email protected] wrote:
From: Xiubo Li <[email protected]>
This will enable ceph could run the fscrypt test cases, but not all. Some of them will be skipped because of not supporting features.
Here will just skip ceph in
_scratch_mkfs_encrypted()and in_require_scratch_encryption()it will try to check "set_encpolicy" to make sure whether kernel ceph support the encryption or not.
Quoted 7 lines
Quoted 6 lines
Reviewed-by Zorro Lang <[email protected]>Signed-off-by Xiubo Li <[email protected]>---
V3:
- Add more commit comments.V2 patch has been merged and pushed.
Ah Okay.
Sorry, I pulled it and didn't see that yesterday.
I may missed that.
Thanks Zorro!
Quoted 24 lines
Thanks,
ZorroQuoted 21 lines
common/encrypt | 3 +++ 1 file changed, 3 insertions(+)common/encrypt +3
-0@@ -153,6 +153,9 @@ _scratch_mkfs_encrypted() # erase the UBI volume; reformated automatically on next mount $UBIUPDATEVOL_PROG ${SCRATCH_DEV} -t ;; + ceph) + _scratch_cleanup_files + ;; *) _notrun "No encryption support for $FSTYP" ;;Signature · 1 line
2.31.1