From mboxrd@z Thu Jan 1 00:00:00 1970 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 us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 48E49C4332F for ; Wed, 16 Nov 2022 03:12:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668568372; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=4eSnYht+CE/JG6TeBBzLx9HlyA1Eh7POe/0SxYHyBrY=; b=QurvSL8pwbXx5UcxXc2yKjRnATdcYHlpUfrrhU6u6bvawWsi5fQDr6fe+DUhqmfUuVuFor q/G/mLxMNvT8LFHV6Dzy3amdOOrsDQXVpTqSFSPQbkFFtuhbZHh6kIh+iR0Qda9b2MMT5F jmDXdkwdvAPVT2Qxexaf2jix5r04Byg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-614-SgBF13ArNxSHMn0aw9-1oQ-1; Tue, 15 Nov 2022 22:12:48 -0500 X-MC-Unique: SgBF13ArNxSHMn0aw9-1oQ-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 DE354101A52A; Wed, 16 Nov 2022 03:12:46 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id CDA51111E3FA; Wed, 16 Nov 2022 03:12:46 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 6974919465A0; Wed, 16 Nov 2022 03:12:46 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 6E1571946597 for ; Wed, 16 Nov 2022 03:12:45 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3633E6D661; Wed, 16 Nov 2022 03:12:45 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2E8BC63A55 for ; Wed, 16 Nov 2022 03:12:45 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 13EC8857D1A for ; Wed, 16 Nov 2022 03:12:45 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-511-sWGhzfTONdSRDHWXOrT9sA-1; Tue, 15 Nov 2022 22:12:42 -0500 X-MC-Unique: sWGhzfTONdSRDHWXOrT9sA-1 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 46E1F6184A; Wed, 16 Nov 2022 03:12:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FCB8C433D7; Wed, 16 Nov 2022 03:12:40 +0000 (UTC) Date: Tue, 15 Nov 2022 19:12:38 -0800 From: Eric Biggers To: Christoph Hellwig Message-ID: References: <20221114042944.1009870-1-hch@lst.de> <20221114042944.1009870-3-hch@lst.de> MIME-Version: 1.0 In-Reply-To: <20221114042944.1009870-3-hch@lst.de> X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 Subject: Re: [dm-devel] [PATCH 2/3] blk-crypto: add a blk_crypto_config_supported_natively helper X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jens Axboe , "Theodore Y. Ts'o" , Mike Snitzer , linux-fscrypt@vger.kernel.org, linux-block@vger.kernel.org, dm-devel@redhat.com, Jaegeuk Kim Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, Nov 14, 2022 at 05:29:43AM +0100, Christoph Hellwig wrote: > Add a blk_crypto_config_supported_natively helper that wraps > __blk_crypto_cfg_supported to retrieve the crypto_profile from the > request queue. With this fscrypt can stop including > blk-crypto-profile.h and rely on the public consumer interface in > blk-crypto.h. > > Signed-off-by: Christoph Hellwig Reviewed-by: Eric Biggers - Eric -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel From mboxrd@z Thu Jan 1 00:00:00 1970 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 70584C4332F for ; Wed, 16 Nov 2022 03:12:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231890AbiKPDMn (ORCPT ); Tue, 15 Nov 2022 22:12:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231913AbiKPDMm (ORCPT ); Tue, 15 Nov 2022 22:12:42 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D94B426127; Tue, 15 Nov 2022 19:12:41 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5433661874; Wed, 16 Nov 2022 03:12:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FCB8C433D7; Wed, 16 Nov 2022 03:12:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668568360; bh=4zIONx84uJ4Smf53vWQeOyaNKDGVIR7gaI+D4iv0VL8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aHslP9bRf4+uO86mjPWeocs5TIR7SX5cIfGHvnzbI3INakyPBvA+vfpNTcFGey8o9 +OFJQyHXiiytU4g0zDAwIGERM1Z3zYMWZwQLfUtuTPLdfhDX0A+XD+1scDDc9/rZ1M ypO120iEe1aAsPPlVZhNZmv4NIepngjE559hK41G26YLTVgXD8C+DTxQG8XxPvzcsz Nvh82YpUThZBdMYI7FDZiAjzRrhrTXQfWVjkUCW/VJDo5EFiPsv1UyUx+c8Yqo5fCr jLyc4Cv4dvPhw9Adxb2GO6+qnqWviI2VGjNKaPgLwKqU2/Tuhd8y8gYtKVL3QjxP5B lo3nmkdNnFX0w== Date: Tue, 15 Nov 2022 19:12:38 -0800 From: Eric Biggers To: Christoph Hellwig Cc: Jens Axboe , Mike Snitzer , "Theodore Y. Ts'o" , Jaegeuk Kim , dm-devel@redhat.com, linux-block@vger.kernel.org, linux-fscrypt@vger.kernel.org Subject: Re: [PATCH 2/3] blk-crypto: add a blk_crypto_config_supported_natively helper Message-ID: References: <20221114042944.1009870-1-hch@lst.de> <20221114042944.1009870-3-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221114042944.1009870-3-hch@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Mon, Nov 14, 2022 at 05:29:43AM +0100, Christoph Hellwig wrote: > Add a blk_crypto_config_supported_natively helper that wraps > __blk_crypto_cfg_supported to retrieve the crypto_profile from the > request queue. With this fscrypt can stop including > blk-crypto-profile.h and rely on the public consumer interface in > blk-crypto.h. > > Signed-off-by: Christoph Hellwig Reviewed-by: Eric Biggers - Eric