Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp16892pxb; Tue, 17 Nov 2020 18:52:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyH8j4DI1pzVw16UMov7TIjlWNlISUePRvhDdw1G21davYv8VP/pNTDAdIJweOFZDXFsbAb X-Received: by 2002:a50:f98b:: with SMTP id q11mr24329694edn.345.1605667955733; Tue, 17 Nov 2020 18:52:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605667955; cv=none; d=google.com; s=arc-20160816; b=X7xSAAD6ydeWpW3PplEnDtr7LYuFaKSl3ziJRJmL/RhsNTWaCkjiS9/jR6LwCKCG/Q 9l18tczGEFbD2SRWT1YwCt5OV4mh+6a9W0FiX7CjL+jfx4V4cbpIM55lEtyaLP7sxudt bsJYpJEjpEOHdgW6uVtZw9pAwikFONXV2XU2/l9J5Pq5UrDMcv8rd2CJppnRmfyPEuWO G+mbbto+0fwKP19VKv70L7uxt03oM3tmgFtipOSKzBnI2bzcD+xzOiTjsVwSGzCVQFUh hyKcGccyfE24OoBpGllbojddYoCTBs6I7OLjIT7clHcCP/JYIB5YaktGFvvuQyvJ3St3 TzgA== 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=ILylTZmtViR+7+WZAll7N1BisayuDVzjg399Vf0Chfg=; b=faHCFJXHaAJyH11nvtfOFqzQVZ8bAB4EkhwyPvrrltQpVl1pKTzYNfAbkoIRPmpDkj coB1UT3PB/HMZPFc87I2Lcll9VygfeTxl4j+jogivhJLfAalCmPFGG2fdqU3GYMhMsoO wtBBB7gx3Xzp3BETaXFUF+KeTrs6bH8yVk3e7dCsxBV36sRzMQmMugd9Ezdm4PKF7paa CKJqNvQGiaP//5qpsTImUf/sGB0hbPWLR/04ZN7CoJCvAIw6KQLdNS9UzGBoaCFGxEo/ mz6jkMuLaPM8yEKdcKTK9jai6NxR8bwRhOn+1sn45hB0RCaPPhZrPh/gsywYl40ucBJ5 EHWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ph8iDYNt; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si604358edp.303.2020.11.17.18.52.05; Tue, 17 Nov 2020 18:52:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-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=@kernel.org header.s=default header.b=ph8iDYNt; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726202AbgKRCvE (ORCPT + 99 others); Tue, 17 Nov 2020 21:51:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:55474 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725613AbgKRCvE (ORCPT ); Tue, 17 Nov 2020 21:51:04 -0500 Received: from sol.localdomain (172-10-235-113.lightspeed.sntcca.sbcglobal.net [172.10.235.113]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A27A52168B; Wed, 18 Nov 2020 02:51:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605667864; bh=yQLMqwIXjBjRAFtQBs5wUsPvR7JiE//0NeTddTe+FTY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ph8iDYNt3/JLiNU/2Xtn6irLPFDpoop2/QKV7tOrRNZjd/Q4R5JwJSWQx6mUuNhPd vTu5PzGdoWTo8E4SOZVwQaSVjpaM9xLgagUhfVoiv8S8pZRFOn2rPTzkAz03MYAJGh f8ZdbI8ic5P5jhX15uu0Bo3stnebkLqsNFYLGPHQ= Date: Tue, 17 Nov 2020 18:51:02 -0800 From: Eric Biggers To: Satya Tangirala Cc: "Theodore Y . Ts'o" , Jaegeuk Kim , Chao Yu , Jens Axboe , "Darrick J . Wong" , linux-kernel@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-xfs@vger.kernel.org, linux-block@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [PATCH v7 0/8] add support for direct I/O with fscrypt using blk-crypto Message-ID: References: <20201117140708.1068688-1-satyat@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201117140708.1068688-1-satyat@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Nov 17, 2020 at 02:07:00PM +0000, Satya Tangirala wrote: > This patch series was tested by running xfstests with test_dummy_encryption > with and without the 'inlinecrypt' mount option, and there were no > meaningful regressions. One regression was for generic/587 on ext4, > but that test isn't compatible with test_dummy_encryption in the first > place, and the test "incorrectly" passes without the 'inlinecrypt' mount > option - a patch will be sent out to exclude that test when > test_dummy_encryption is turned on with ext4 (like the other quota related > tests that use user visible quota files). It would be helpful to have some more testing results that show that the direct I/O support is really working as intended, especially in the new case where logical_block_size < data_unit_size and buffers are only logical_block_size aligned --- both with real hardware and with blk-crypto-fallback. Using my patchset https://lkml.kernel.org/r/20201112194011.103774-1-ebiggers@kernel.org it should be possible to test with real eMMC inline encryption hardware on Snapdragon 630; it has logical_block_size=512. Also note, generic/587 was already added to the ext4/encrypt and ext4/encrypt_1k exclusion lists by xfstests-bld commit 02e4bfe628b4. - Eric