Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp613332lqi; Thu, 7 Mar 2024 06:55:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUAZ1g/m+2xoDUnd4XE4Ud9NOQ8cnLZ1QyD1TNB/lTLYp6ah26FyDmqmjldwYZAib3F1TcR23WY8vP2qDPhx6K1uaPDxCORBS5h+p5g5w== X-Google-Smtp-Source: AGHT+IH2DQ18cCjqCxJito0nbYSQjQu71yU8nhBiAr0aZtkyXklD09q92vvR3/q7QnVE8NaQS+nO X-Received: by 2002:a05:6830:f83:b0:6e5:b6d:892a with SMTP id ez3-20020a0568300f8300b006e50b6d892amr1592851otb.31.1709823305245; Thu, 07 Mar 2024 06:55:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709823305; cv=pass; d=google.com; s=arc-20160816; b=AU7cv/rtTMECXSoOtm+8d4TRF2MHNQx2jE9h8IkQkwmY69lMHySlTvPW6ENdoypEOb U82lPYD1yGcWUeoj3z3aZ98k6bp256riK2PuZjZc6Y0ciPpFEptcDs1XRQNKbua7YWuG PR5CtF989JIDzxa2AldspODSHuZp8BbeULEbO4OIDyQJk+ghDQ8cdaz61wOZRWso2grt iTtajM30ei3w2lfaROGpozaE2+tRcc3cYM58LPEGOrk2jTa8PJaEJTzpH8pPC66FCSb1 +w8xKsmz1lBq+u+C1cw8U4n8pfkyv9l2gWAGPQNZ4Y6exnhXNnUN4tSUbbl7vIjvDwQM ZPiw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=5klGFeusxPf2AcVg0+ohMPA+OeJIQ42jAC1ws8tqDqU=; fh=BREWJifknzrxG1SoKMJNnZuZTCQoZPQTmqEyYJh532c=; b=jXie8czCgdqxfGohPFgojh19KJhmfRpWuiBi8PWqcY1JRwOPJw91TlXiUlds8GosT5 GPKikb7wtUJEpYCXWdWsYkf5OTxB9KXQmRMcVbI+gh86LC6XWndPOM28CWQe7mTFJ6T0 bXl2AmXo2A4q9y5OgFwbPRWvolritwMGYKei3TBr0o1NRsXM+baKMi0BaVbSNg8y8WLJ Bj3oZ3GJSuK6828BHluLf3UZaXfoE4EN9JWAwR5RECtNlifoTsmVoTMliD8NeHrk1668 UYkExYhLHP3slij4Pi+k2wTK35hr4hPyeBx+2UDhkzTX+WbC2VBBHAln1aqvUrArh7Z4 abbg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-nfs+bounces-2234-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2234-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o23-20020a656157000000b005dc81a6b2c9si13944991pgv.666.2024.03.07.06.55.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 06:55:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-2234-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-nfs+bounces-2234-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2234-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C71FE282D43 for ; Thu, 7 Mar 2024 14:55:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A03812D774; Thu, 7 Mar 2024 14:55:00 +0000 (UTC) X-Original-To: linux-nfs@vger.kernel.org Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB1271E897; Thu, 7 Mar 2024 14:54:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709823300; cv=none; b=HDmfqVTntMtROKFRnlj7MmkPykAcI2uC3SFhJ9om6l5BktdsL5Tfua3aoMvdCMgyM5NDX3uimRLhw3sPQr2rYSWU1WXdYUImq9sEkpnhw6YKUf8UV23mwaSYn4ciH02QOx/Wpl1V2gnyEPWUEoJcl89MRWEFVss8oV9FPaZqeIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709823300; c=relaxed/simple; bh=5klGFeusxPf2AcVg0+ohMPA+OeJIQ42jAC1ws8tqDqU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ShUX1FbjGWhJzK92SJC0ipTZcNov+UhHGB0VVETMN+40OOMHq2MsTgbRJ8csy1RbEXPIqI4dV7v0MfYoyHLVhLK0TCWJ94w/TWFAg1yMkF9GoJRfkCxQIIj4Zp5cNNge86xnciUAiYEExvraYdKGo1y72MLujf8O+2cfVuumGg4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 2ABB768CFE; Thu, 7 Mar 2024 15:54:46 +0100 (CET) Date: Thu, 7 Mar 2024 15:54:45 +0100 From: Christoph Hellwig To: David Howells Cc: Matthew Wilcox , Trond Myklebust , Miklos Szeredi , Christoph Hellwig , Andrew Morton , Alexander Viro , Christian Brauner , Jeff Layton , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, netfs@lists.linux.dev, v9fs@lists.linux.dev, linux-afs@lists.infradead.org, ceph-devel@vger.kernel.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, devel@lists.orangefs.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] mm: Replace ->launder_folio() with flush and wait Message-ID: <20240307145445.GA28823@lst.de> References: <1668172.1709764777@warthog.procyon.org.uk> <1831809.1709807788@warthog.procyon.org.uk> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1831809.1709807788@warthog.procyon.org.uk> User-Agent: Mutt/1.5.17 (2007-11-01) On Thu, Mar 07, 2024 at 10:36:28AM +0000, David Howells wrote: > There are some places that should perhaps be using kiocb_invalidate_pages() > and kiocb_invalidate_post_direct_write() instead - assuming Christoph has no > objection to the latter function being exported. These are intended as helpers for direct I/O implementation, so I very much expected them to eventually get exported.