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 CAE2EC7EE2D for ; Wed, 24 May 2023 03:01:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239182AbjEXDBU (ORCPT ); Tue, 23 May 2023 23:01:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233836AbjEXDBS (ORCPT ); Tue, 23 May 2023 23:01:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6A89139; Tue, 23 May 2023 20:01:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 271D16381E; Wed, 24 May 2023 03:01:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A927DC433EF; Wed, 24 May 2023 03:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684897275; bh=sp/Ume+GBHLoTEpuvlf0XK+PE025ykhly6ak9SBq7zc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=nTS9dwJzGsrZhhAO/qQVIjlko93ei9TBykrirrxG88FPV5qcJx4rbo4agbRfIJWQU 7gziVN323mxBE/6wANpWwBJTvUYdkQMmZpX/MNLxrjv1cuPNsUuVE+XykJx4Vx9u8T WPT/iPluDmiYsc7s4Ah2Q1NyN8k9pgO6irD5s8mDw4xp9kt/KyVxS5cnhcQy5lZgyP nfvuJHUO4BiZ9crJD1uIQHmS/ICJ46kxXsjLRHrg8dnGGR6KJKHsKyXJtSU1OANj+0 UJYHjSqK8T6cxs8pAAqhC2DPanxRex3cVZxsbYVR/1Mx61NbW/7v3bp9uGO9e/SLnH 8iFk5/cu49fAg== Message-ID: Date: Wed, 24 May 2023 11:01:06 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v22 19/31] f2fs: Provide a splice-read wrapper Content-Language: en-US To: David Howells , Jens Axboe , Al Viro , Christoph Hellwig Cc: Matthew Wilcox , Jan Kara , Jeff Layton , David Hildenbrand , Jason Gunthorpe , Logan Gunthorpe , Hillf Danton , Christian Brauner , Linus Torvalds , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Christoph Hellwig , Jaegeuk Kim , linux-f2fs-devel@lists.sourceforge.net References: <20230522135018.2742245-1-dhowells@redhat.com> <20230522135018.2742245-20-dhowells@redhat.com> From: Chao Yu In-Reply-To: <20230522135018.2742245-20-dhowells@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On 2023/5/22 21:50, David Howells wrote: > Provide a splice_read wrapper for f2fs. This does some checks and tracing > before calling filemap_splice_read() and will update the iostats > afterwards. Direct I/O is handled by the caller. > > Signed-off-by: David Howells > cc: Christoph Hellwig > cc: Al Viro > cc: Jens Axboe > cc: Jaegeuk Kim > cc: Chao Yu > cc: linux-f2fs-devel@lists.sourceforge.net > cc: linux-fsdevel@vger.kernel.org > cc: linux-block@vger.kernel.org > cc: linux-mm@kvack.org Reviewed-by: Chao Yu Thanks,