Re: [PATCH v2] encrypt: add ceph support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The test result for ceph:

[root@lxbceph1 xfstests-dev]# ./check -g encrypt
FSTYP         -- ceph
PLATFORM      -- Linux/x86_64 lxbceph1 6.1.0-rc1+ #164 SMP PREEMPT_DYNAMIC Mon Oct 24 10:18:33 CST 2022
MKFS_OPTIONS  -- 10.72.47.117:40267:/testB
MOUNT_OPTIONS -- -o name=admin,nowsync,copyfrom,rasize=4096 -o context=system_u:object_r:root_t:s0 10.72.47.117:40267:/testB /mnt/kcephfs.B

generic/395 187s ...  224s
generic/396 164s ...  219s
generic/397 177s ...  226s
generic/398       [not run] kernel doesn't support renameat2 syscall
generic/399       [not run] Filesystem ceph not supported in _scratch_mkfs_sized_encrypted
generic/419       [not run] kernel doesn't support renameat2 syscall
generic/421 170s ...  219s
generic/429 179s ...  237s
generic/435         3874s
generic/440 176s ...  216s
generic/548       [not run] xfs_io fiemap  failed (old kernel/wrong fs?)
generic/549       [not run] xfs_io fiemap  failed (old kernel/wrong fs?)
generic/550       [not run] encryption policy '-c 9 -n 9 -f 0' is unusable; probably missing kernel crypto API support
generic/576       [not run] fsverity utility required, skipped this test
generic/580        218s
generic/581 209s ...  244s
generic/582       [not run] xfs_io fiemap  failed (old kernel/wrong fs?)
generic/583       [not run] xfs_io fiemap  failed (old kernel/wrong fs?)
generic/584       [not run] encryption policy '-c 9 -n 9 -v 2 -f 0' is unusable; probably missing kernel crypto API support generic/592       [not run] kernel does not support encryption policy: '-c 1 -n 4 -v 2 -f 8'
generic/593 155s ...  223s
generic/595 161s ...  194s
generic/602       [not run] kernel does not support encryption policy: '-c 1 -n 4 -v 2 -f 16' generic/613       [not run] _get_encryption_nonce() isn't implemented on ceph
generic/621       [not run] kernel doesn't support renameat2 syscall
generic/693       [not run] encryption policy '-c 1 -n 10 -v 2 -f 0' is unusable; probably missing kernel crypto API support Ran: generic/395 generic/396 generic/397 generic/398 generic/399 generic/419 generic/421 generic/429 generic/435 generic/440 generic/548 generic/549 generic/550 generic/576 generic/580 generic/581 generic/582 generic/583 generic/584 generic/592 generic/593 generic/595 generic/602 generic/613 generic/621 generic/693 Not run: generic/398 generic/399 generic/419 generic/548 generic/549 generic/550 generic/576 generic/582 generic/583 generic/584 generic/592 generic/602 generic/613 generic/621 generic/693
Passed all 26 tests

On 27/10/2022 11:00, xiubli@xxxxxxxxxx wrote:
From: Xiubo Li <xiubli@xxxxxxxxxx>

Signed-off-by: Xiubo Li <xiubli@xxxxxxxxxx>
---
  common/encrypt | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/common/encrypt b/common/encrypt
index 45ce0954..1a77e23b 100644
--- a/common/encrypt
+++ b/common/encrypt
@@ -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"
  		;;




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux