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 E7120C433FE for ; Mon, 7 Nov 2022 14:42:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231756AbiKGOmo (ORCPT ); Mon, 7 Nov 2022 09:42:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230434AbiKGOmn (ORCPT ); Mon, 7 Nov 2022 09:42:43 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8564312AD0; Mon, 7 Nov 2022 06:42:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=HueqHs75+uu16iwiA7HFzJWXHvl6AXbQrRJFOr0opp0=; b=YnnwPV7YIWOZA4ZOWUmHO2Rxnh 2sCkjNCVt7J98j7YsZs273LaEoV5Hsuu6AEJAscqa1jpzATF3Kyqefgdm1sq5bPjl5ZV7y4t35nLz y5jsh8aK5J8WThgh+9sC1UTzZ0SyyUT19OkiR//miYgpkV8JKtYfyoGsWgo6YriYKmBxkrK++0ki4 JLaZeJAsjfyGcUm+vd14E3rfW3XdtfqnzzMKcoJ33G+eQCjk3zwP3v9xh6AzSqvI7YidqImuR+BiD h1xcKLUWLyDOJWjdKpiREW3GJfMXBfODNWWL7OTmThxWH83+I0TCpyHthnr48fA7MK4b56m0ybVr5 Jle++K9Q==; Received: from [2001:4bb8:191:2450:bd6a:c86c:b287:8b99] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1os3KZ-00FJWE-PF; Mon, 07 Nov 2022 14:42:32 +0000 From: Christoph Hellwig To: Jens Axboe Cc: Mike Snitzer , "Theodore Y. Ts'o" , Jaegeuk Kim , Eric Biggers , dm-devel@redhat.com, linux-block@vger.kernel.org, linux-fscrypt@vger.kernel.org Subject: pass a struct block_device to the blk-crypto interfaces v2 Date: Mon, 7 Nov 2022 15:42:26 +0100 Message-Id: <20221107144229.1547370-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Hi all, this series switches the blk-crypto interfaces to take block_device arguments instead of request_queues, and with that finishes off the project to hide struct request_queue from file systems. Changes since v1: - keep using request_queue in the Documentation for driver interfaces - rename to blk_crypto_cfg_supported to blk_crypto_config_supported_natively and move it to blk-crypto.[ch] - mark __blk_crypto_cfg_supported private Diffstat: Documentation/block/inline-encryption.rst | 12 +++++----- block/blk-crypto-internal.h | 3 ++ block/blk-crypto.c | 33 ++++++++++++++++++------------ drivers/md/dm-table.c | 2 - fs/crypto/inline_crypt.c | 14 ++++-------- include/linux/blk-crypto-profile.h | 3 -- include/linux/blk-crypto.h | 10 +++++---- 7 files changed, 41 insertions(+), 36 deletions(-)