From patchwork Thu Oct 27 03:00:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiubo Li X-Patchwork-Id: 13021523 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AED4C38A2D for ; Thu, 27 Oct 2022 03:01:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234078AbiJ0DBD (ORCPT ); Wed, 26 Oct 2022 23:01:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234141AbiJ0DAw (ORCPT ); Wed, 26 Oct 2022 23:00:52 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 903FE5FF79 for ; Wed, 26 Oct 2022 20:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666839649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=70NY6HwStTcs5IDeDS+gU1KEuoHq0VNhuQ2FgKPN1rc=; b=Ow9+A5RrxrAbuIyg8UZsQoKUWDMALQW3zkx+nAvipVqDldrCxRSiZq6ZRWxcVKimRcj7mX 2qOqNrzy3VH9P5Im9NbC4ss3x+WrS8uWXpO31yIHLOUQI7XgKpZgV+YfG8GPGU1h+cCTXr eu0EaKIZts5idOrEbncbrrqe/Bq3Xio= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-259-AFGComIWO6-kOlmYVCqeDw-1; Wed, 26 Oct 2022 23:00:44 -0400 X-MC-Unique: AFGComIWO6-kOlmYVCqeDw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4CCD61C09C8A; Thu, 27 Oct 2022 03:00:42 +0000 (UTC) Received: from lxbceph1.gsslab.pek2.redhat.com (unknown [10.72.47.117]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5C62E1121315; Thu, 27 Oct 2022 03:00:27 +0000 (UTC) From: xiubli@redhat.com To: fstests@vger.kernel.org Cc: zlang@redhat.com, david@fromorbit.com, djwong@kernel.org, lhenriques@suse.de, ceph-devel@vger.kernel.org, jlayton@kernel.org, mchangir@redhat.com, Xiubo Li Subject: [PATCH v2] encrypt: add ceph support Date: Thu, 27 Oct 2022 11:00:21 +0800 Message-Id: <20221027030021.296548-1-xiubli@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org From: Xiubo Li Signed-off-by: Xiubo Li Reviewed-by: Zorro Lang --- 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" ;;