From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62F1854765 for ; Fri, 13 Dec 2024 05:04:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734066259; cv=none; b=aNr4lyNjN7E8cGR6EnHSBHn7zeSov4E5Pd15ZbIHpCgwBEtLJgoFbZEVxOhOH9NUnd7i1YgSb3DMdE8zXSWUJtZZUJWuGJkpxenFS9NcCpu8tX1uLR91fCYkkq+xeLhxvO2kYStRPjUMKDnnPhTCTP6HEKUsibCaC6a5lXEfV/M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734066259; c=relaxed/simple; bh=keKwcXQ609r5yU7HxQAQbla/cIYqHTecTZw3tMNlJPw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hIW1HgjEekxKkO9NXzKG+851YddbQRmvdeWpIhkQPCwflKvexglPLrOaW92EvOpPZr5q1gCsm21QjBrXWXfn6u+ngJz1aPB4F5KYrRHi21V/Nj3r5lSINHtOccnp8w88yuO7EGh3L/NRspZ7TLve4DTy+6/BTl2Fb8GpWhZHCcc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmpxchg.org; spf=pass smtp.mailfrom=cmpxchg.org; dkim=pass (2048-bit key) header.d=cmpxchg-org.20230601.gappssmtp.com header.i=@cmpxchg-org.20230601.gappssmtp.com header.b=upRbw9s/; arc=none smtp.client-ip=209.85.219.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmpxchg.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmpxchg.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cmpxchg-org.20230601.gappssmtp.com header.i=@cmpxchg-org.20230601.gappssmtp.com header.b="upRbw9s/" Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-6d882619044so10485236d6.0 for ; Thu, 12 Dec 2024 21:04:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20230601.gappssmtp.com; s=20230601; t=1734066256; x=1734671056; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=a0qe4hp5s0sjQeJSoTAs4QQFFqdoJWYDhTzc4eU1LwY=; b=upRbw9s/+dGbBfkhSeLc5BK1OtKDB+lZwS/hItFd/M+eSVm9w05BhpZCynJEwnagaA O0DdQSUQtpBD3AeuxYPgQ0qG0MV8ZItd1GtBm5dKSkvEEkZr0OGkFKVfDQ7gq5D7qyt9 jX8DlkL4D2xedd5tG79ijwFeheRYigRy5Kjc4kdBxX9voDs2UWfG3N2a9Dx6oEthRZRb Y6EJTTJI0tFFT8Q6wLlsuM5fs4zeas+Aip/yzDWs+IR4Y3BujvZZZaYzBMmVqSV9E1nF EziLpGOJ8GXpz8nrriSt+2kEVntQraNYMiwlGAyvuYgsxi9Dm3fjL581ks5LxkdPYP89 Mu7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734066256; x=1734671056; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=a0qe4hp5s0sjQeJSoTAs4QQFFqdoJWYDhTzc4eU1LwY=; b=LzSgp7AJrZnn6ws6/mRabUMWH836hI/1S1BfOhmNusA9nU8PXO+hTeLQbbWc8hPaXS XyCpJsr3TSI7RpG8DdvhOo38wou7tjips/vJDk9c8qcSC2EVBTtHkG03Cq8bNYd+zwMZ 2snkEAyCWzsTfvEDvOJcQFczOoHYhuF8ksfRzu0JTzRJDldWPPSifiYs1gZnKIM1qvk3 4GncNGNiRT9HIlpsDmN2Jz7V/c+76xQTLafZ0YAdyjutOxuh+ntw+6kcwkCXcKZTue1j /TOEHwCklWP9/EG6gLWQUwkY/NIR7hYqCW/m+ErJg//QzONRtj6lVVK7iPIMg69n5jiY SOUg== X-Forwarded-Encrypted: i=1; AJvYcCXrVzTcIprJr1p7NsIWkuEDERnkFQNUd/QutZEIVP2x8GudFwZ2JzGomk+rhbkUh7rBScW+wBS0yS2mPvn/@vger.kernel.org X-Gm-Message-State: AOJu0YyirUN5Cz4+lOuO3weUh4wpEmIA7gJlvWZn0so6oz83URVSsPwY v9W0PBwDVXOehWXL2BBTPqeJyLRpZ/Ca9EkoQFCDqUy0e/bVj8wSSBNZKwm4F7k= X-Gm-Gg: ASbGncuDb/T2LhTbvjAgbPpslxwopoRYVuvlTbqJXaiN+KAaoX1jYqyWeqMvqQEJhbl pcavq41tJcCnTnsxgYleKbSiSi+NbY9k738sMhlyXsk7Yq0foH7YnWOeMZ0Fp1qbda0V2TLJbVJ A+GJyTcR4u5iJ/DXpGLg9QNEve4BAEUDIblhNYHoSAqI8XbUHieV0xLiaJlYXh0ZNyVZXRlVQ2Z e3YaCWCeUBenGQOptQe0YOJoVMdG7C0TJjTxtCo+RruWQFTqCBOYjQ= X-Google-Smtp-Source: AGHT+IGW14bBpzm4Bv9Ow6MIsKOJXYUYsWnczFJ4gjzR44zqa57+4f4UGRIMI7sswCzh2/2i5gxQRw== X-Received: by 2002:a05:6214:21a9:b0:6d8:9002:bde2 with SMTP id 6a1803df08f44-6dc8ca93c47mr18376546d6.28.1734066256199; Thu, 12 Dec 2024 21:04:16 -0800 (PST) Received: from localhost ([2603:7000:c01:2716:da5e:d3ff:fee7:26e7]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d8da6b651asm88925736d6.69.2024.12.12.21.04.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 21:04:15 -0800 (PST) Date: Fri, 13 Dec 2024 00:04:10 -0500 From: Johannes Weiner To: Matthew Wilcox Cc: Jens Axboe , "Christoph Lameter (Ampere)" , Christoph Hellwig , "Darrick J. Wong" , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, clm@meta.com, linux-kernel@vger.kernel.org, kirill@shutemov.name, bfoster@redhat.com Subject: Re: [PATCHSET v6 0/12] Uncached buffered IO Message-ID: <20241213050410.GA7054@cmpxchg.org> References: <668f271f-dc44-49e1-b8dc-08e65e1fec23@kernel.dk> <36599cce-42ba-ddfb-656f-162548fdb300@gentwo.org> <20241204055241.GA7820@frogsfrogsfrogs> <04e11417-cf68-4014-a7f7-e51392352e9d@kernel.dk> <2f79ff03-48ee-54bf-b928-e9519b3edfc7@gentwo.org> <383d3adc-e939-44b2-9110-4db9b4477401@kernel.dk> Precedence: bulk X-Mailing-List: linux-fsdevel@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: On Thu, Dec 12, 2024 at 07:35:28PM +0000, Matthew Wilcox wrote: > On Thu, Dec 12, 2024 at 12:14:23PM -0700, Jens Axboe wrote: > > Like I mentioned earlier, the fact that it's cached for the duration of > > the operation is more of an implementation detail that developers need > > not worry about. What's important is that it's not cached AFTER. I still > > feel UNCACHED is the best description, but I'll change it to DONTCACHE > > for the next version just to avoid the overlap with other in-kernel > > uses. > > Regardless of the user API name, I like PG_streaming for the folio > flag name. If we're throwing names in the ring, I'm partial to PG_dropbehind. It's a term I think has been used to describe this type of behavior before; it juxtaposes nicely with readahead; it plainly names the action of what will happen to the page after the current IO operation against it has completed (i.e. pairs up with PG_reclaim).