Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp393669pxb; Thu, 21 Jan 2021 09:30:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzIPovG6TYWEZv6OPXnre+utEEy6kVCx9gOZdQ4n7K1yeCPWnbxnOWx0+/RWJ/ZLVtnLEYH X-Received: by 2002:a17:906:5608:: with SMTP id f8mr359819ejq.101.1611250252346; Thu, 21 Jan 2021 09:30:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611250252; cv=none; d=google.com; s=arc-20160816; b=nng/suW9+eYJYKO09ArxwPvfOVDvsJUFRzY8YaPdzP5M0gntfhYkWtYbaHlTmQKKrQ tCFb3Hdd2KBnLEBpEv6GzTfxPG3sOfPMPHuvRlzy5MnNRHbpOxxxmB6bNVOgQH4GTlij P6XgipHs5wvVSTYbrnH3f+ec30Kag7GkK0ilOO3iARg871QwyDFNgyS9DrnKwEiKzexX JIbBuhRquE7lOsud+83/jjmxl22k53k7C+EJcA3aKPaTkJT0sSSpaz0YK2isCt1tQkB7 MDknEcq3zqop8gL+tBUevfRJvahHnjpuczVrfMIwzksi55md/8pDj4AHDu0V9t72rHvx Vrgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=56fTSLlenokr2qrPGGCCY26K1j6V9io10qQxiBbgx9Q=; b=Opn+gXTzmTxjhLkUU7Y8UFSJT5lJkUrsHEUiaAv8yp77w5r8DEtGZd/EiW2owfElku wOp7BaVMU6MFPetT4i795mrwjZ+vpmBxt3CJrTYHdC6m9J1nJhoPpO+TET3OZMbC4PTJ ITALBoHpRBH50wi1NskYPo8pv2bZ6NcOQk6EmrQbpoXPiWO3NTBdxq/gSkpqDnax2RZx LhpBKbMW5w8SM/NhXXMNZzFsGviLWgLUngXly5bKDEnOIQwMHgMwjROX7lKlr/KQIXiF BOTGqm3p5HYHsUqjpXPRlVo1wDE2dVJK9uf3Cm5VNoS+7MIA/wXoYCAn1OEyywb4XEfG HhAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=dF2QBYK8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si1981410ejz.50.2021.01.21.09.30.25; Thu, 21 Jan 2021 09:30:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=dF2QBYK8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388343AbhAUR2m (ORCPT + 99 others); Thu, 21 Jan 2021 12:28:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388555AbhAUROE (ORCPT ); Thu, 21 Jan 2021 12:14:04 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EEA8C061756; Thu, 21 Jan 2021 09:13:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=56fTSLlenokr2qrPGGCCY26K1j6V9io10qQxiBbgx9Q=; b=dF2QBYK8IPtI4OE93MVwt3QbAN sfFU+FZzhpaVLI82sY8Bz0IgVEZp6NBsyJ1d22baeFAGaec74ydvxHvprrQbZ/ekgrh4nYS2ceLkw 4lM1alu6W58YyoFiuVacrpgVgJXyJoY/GqUF4YZrXSLQjxyUKm2WN/DyZfKX/q3ABmaVr5B0X9/Gm f62dvn5mRGqa7Mm2WPUW0O+RLIy1gNsq1BKe6DUyK6SQLEmrLhu/4MILSGfrLBnKH+ihbkwx+RBvp bGx70ZuaTbdV55XWTledNiRrFnCndD9pgYWKs1aA1CjOYBV2dCkOAHHJbnA/sXjiicho3NNPopKHx tTteneqQ==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1l2dW3-00HInu-72; Thu, 21 Jan 2021 17:13:07 +0000 Date: Thu, 21 Jan 2021 17:13:03 +0000 From: Christoph Hellwig To: Satya Tangirala Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Jens Axboe , Eric Biggers Subject: Re: [PATCH 3/7] block: respect blk_crypto_bio_sectors_alignment() in bounce.c Message-ID: <20210121171303.GB4122715@infradead.org> References: <20210114154723.2495814-1-satyat@google.com> <20210114154723.2495814-4-satyat@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210114154723.2495814-4-satyat@google.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 14, 2021 at 03:47:19PM +0000, Satya Tangirala wrote: > Make __blk_queue_bounce respect blk_crypto_bio_sectors_alignment() > when calling bio_split(). bounce.c is legacy code that no new driver should use and which we need to phase out ASAP. It should be entirely exclusive vs use of a modern feature like inline crypto.