Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2138829ybv; Fri, 21 Feb 2020 09:35:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzq4cLJt5PbEbAPs9xaqwwSqX5gSTIrq3f7RTWTCqKPsdUFO0JfD7WYj4qtQzFVkgM2u70k X-Received: by 2002:a9d:5e8b:: with SMTP id f11mr15717594otl.110.1582306552155; Fri, 21 Feb 2020 09:35:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582306552; cv=none; d=google.com; s=arc-20160816; b=w4Di0af5IIIVjE6XuLuUpceCvCKkXzWvKQqwd37imGWV5B8+rjGkttu6coqMVXfip2 r5kWs+iWR0QjgOPVAZCSxYKlX+B4+/6RQ0KeNYduarmdDW4XPy0YDkS818gqpDWc0J/+ Y9+VwG7JX2B2b1nh9aejrmHJM5/8hkcHAh6DVAZJbK4Afqs3FwMAxloEn4TEeA9vG1kS CAf0vzL3iR7saudmfNHSjKFvLhBuPH6jpUJ8ep7RRiOcB4yl+tWHvV8azs+CVnwxdEKB CL2y4fBUsxYkAQ96RyxRv+4TIhK8zAdAaQrdNTPLBr9/md55xol4dA9kOnKjWHyN7AU2 qp5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Wf0h9wuAEcKNRqQhK7eYyrG9qa7B8zzOGponbVZ3cRs=; b=dbHHzFpuWzUzh30fJjsJ0csijsEtix60FzcX28mKKc0NkSTkaigq2SVT4GF1ftrotn QmQPLzxHIRQtI5+vsYYLSignQu81+mYkkrt5ZHUTlfbiiFzZqQM+dlHyn0jMybsE3hCB z8WH3A1wFM7dbAVC8QMrXxrf5EDNSTuvRMxAVNuGxAAWkMwaUNWI7g97nnCsOzmDcRAh eGZ8xyhLT3J3ACkW7jvdKG1I541nRCd0v7EfokJ74OOuFAy4qPg2OtcOggPBDUdQx1ns R90zf40RZPWBLO3z7vye6jS+XDJYGZy6X0IimPSr2vw9+9oe8QwE58ofJrQFZBPJbq2J YeYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=qv4T8Vov; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i21si984575oii.149.2020.02.21.09.35.40; Fri, 21 Feb 2020 09:35:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=qv4T8Vov; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726082AbgBURfk (ORCPT + 99 others); Fri, 21 Feb 2020 12:35:40 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:53690 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725947AbgBURfj (ORCPT ); Fri, 21 Feb 2020 12:35:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Wf0h9wuAEcKNRqQhK7eYyrG9qa7B8zzOGponbVZ3cRs=; b=qv4T8VovROjkqztEW3g3nhCy5f gufHvXfCuF+Z6HXVdrnqn11v47JRrQd3KMc2Fb/NXQnDX0L8RgKN14XJA2vlmNyMfe8JNpLhmUVxc z25YaTqKCBiGK2Hw+2/bd4pbgopKAf4/ve6jLC7QPgm5ZDn5+iUMGtD+1h9m9riV8t/UT8f4E2FIQ ++ryHJSQL+q4p3uXFau3HwiSPe27IGSZ+hWHJ1wE/QCzd7pdwceRoXgVy0rGkR8NzQA6rJe3DsDAG fBH7BRytlaQRbZINis5xOw58oyyhiPiKjWEb9vUxnB2uZFIru9OjRckeEqfDgK73xZAiXwS1jNsGy osPBEkFQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1j5CDD-0003J6-9C; Fri, 21 Feb 2020 17:35:39 +0000 Date: Fri, 21 Feb 2020 09:35:39 -0800 From: Christoph Hellwig To: Satya Tangirala Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-ext4@vger.kernel.org, Barani Muthukumaran , Kuohong Wang , Kim Boojin Subject: Re: [PATCH v7 3/9] block: blk-crypto-fallback for Inline Encryption Message-ID: <20200221173539.GA6525@infradead.org> References: <20200221115050.238976-1-satyat@google.com> <20200221115050.238976-4-satyat@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200221115050.238976-4-satyat@google.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org High-level question: Does the whole keyslot manager concept even make sense for the fallback? With the work-queue we have item that exectutes at a time per cpu. So just allocatea per-cpu crypto_skcipher for each encryption mode and there should never be a slot limitation. Or do I miss something?