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 3AC3FC7EE2D for ; Tue, 23 May 2023 16:01:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237666AbjEWQB6 (ORCPT ); Tue, 23 May 2023 12:01:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237673AbjEWQBz (ORCPT ); Tue, 23 May 2023 12:01:55 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8727B132; Tue, 23 May 2023 09:01:51 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 32BF46732D; Tue, 23 May 2023 18:01:47 +0200 (CEST) Date: Tue, 23 May 2023 18:01:46 +0200 From: Christoph Hellwig To: Damien Le Moal Cc: Christoph Hellwig , Matthew Wilcox , Jens Axboe , Xiubo Li , Ilya Dryomov , Alexander Viro , Christian Brauner , Theodore Ts'o , Jaegeuk Kim , Chao Yu , Miklos Szeredi , Andreas Gruenbacher , "Darrick J. Wong" , Trond Myklebust , Anna Schumaker , Andrew Morton , linux-block@vger.kernel.org, ceph-devel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, "open list:F2FS FILE SYSTEM" , cluster-devel@redhat.com, linux-xfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 06/13] filemap: add a kiocb_invalidate_post_write helper Message-ID: <20230523160146.GA15391@lst.de> References: <20230519093521.133226-1-hch@lst.de> <20230519093521.133226-7-hch@lst.de> <5703f49d-177a-a810-6f1c-b32aa1abcde7@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5703f49d-177a-a810-6f1c-b32aa1abcde7@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Mon, May 22, 2023 at 08:56:34AM +0900, Damien Le Moal wrote: > On 5/19/23 18:35, Christoph Hellwig wrote: > > Add a helper to invalidate page cache after a dio write. > > > > Signed-off-by: Christoph Hellwig > > Nit: kiocb_invalidate_post_dio_write() may be a better name to be explicit about > the fact that this is for DIOs only ? I've renamed it to kiocb_invalidate_post_direct_write, thanks.