From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 15 Jun 2019 10:48:24 -0400 From: "Theodore Ts'o" Subject: Re: [PATCH v4 09/16] fs-verity: add data verification hooks for ->readpages() Message-ID: <20190615144824.GJ6142@mit.edu> References: <20190606155205.2872-1-ebiggers@kernel.org> <20190606155205.2872-10-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190606155205.2872-10-ebiggers@kernel.org> To: Eric Biggers Cc: linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-integrity@vger.kernel.org, Jaegeuk Kim , Victor Hsieh , Dave Chinner , Christoph Hellwig , "Darrick J . Wong" , Linus Torvalds List-ID: On Thu, Jun 06, 2019 at 08:51:58AM -0700, Eric Biggers wrote: > From: Eric Biggers > > Add functions that verify data pages that have been read from a > fs-verity file, against that file's Merkle tree. These will be called > from filesystems' ->readpage() and ->readpages() methods. > > Since data verification can block, a workqueue is provided for these > methods to enqueue verification work from their bio completion callback. > > See the "Verifying data" section of > Documentation/filesystems/fsverity.rst for more information. > > Signed-off-by: Eric Biggers Looks good; you can add: Reviewed-off-by: Theodore Ts'o - Ted