Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp840295pxb; Tue, 19 Oct 2021 14:16:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9Z6wPTmwNzen3wW+7lKdXomLK9gB6aQexOWJmEKPoxSvk4+lsmI7FTbzQbpWtlfNac4tD X-Received: by 2002:a50:e1cf:: with SMTP id m15mr57022725edl.181.1634678186387; Tue, 19 Oct 2021 14:16:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634678186; cv=none; d=google.com; s=arc-20160816; b=lrSTxTCIe1mzG3cNJBuRws7iG3gBRnqU4fLmRBML/7IwqRlwNElMq4KvmZCwZ+YfpL HMNxS2mQCuyiat8IT8YPdKx5HGjzSKNNYJ8Y6JvZdd5mdMEU/zkqMvN8N7dGAFQrXcOi diBKjs7PRfJu0RHv5a9+lZ0u2jWhEFb2O3HLlYVat/Mz2SZCYGf6Iv4vEjKzaulphoZi XOEpa9GNON9V5jnrTIpSV6ako7qdr9m57BERv82xInKW4ZCOEpF/AJhpfEbP5KJGQ9x9 wR9S3Hg+ZOlegzyQqLFgbGxaRc4P38tQXyd4YVbCbVOi+XP7FdcEpRb6cdV4jRCrI/Jf 6grw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization:dkim-signature; bh=eGX3DkPpYpGXRrwMUxctHGFJQDGfHUM6kkQDDtznVBE=; b=PtnxoVOglgqv9zI1dmpH7Ot+afYIFrD8qZqMgzWFtb6XOh3TFzVtDd/cb0j97nk9qK 2u/oOAjf+Sclj/okMw9QLGi/ErBZjWz5QGZP5yyyW3uvVr4XVD6RJb308qioO0BOZE5H dm8WGnt2LsD3zZWBukDnahzZLRwZsm21kJcV0hvJQjSBiC8lK0t50CgCxYQqgKGCRvMX I0S/53fxuVhhaXtIwsEhEAoppCCSGXc1glPoPoX/XUJMGI6D6V+3iZb6pbI2HCWWgAT3 At2JfwJqUPYC6mIzOBZx4kRsdDmsYGNXVFC9528v58NiiZq0TINW5AZcUKPk2W/Dl1nG VJ4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ChZL+N9r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si152482ejh.638.2021.10.19.14.16.02; Tue, 19 Oct 2021 14:16:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ChZL+N9r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229715AbhJSVQd (ORCPT + 99 others); Tue, 19 Oct 2021 17:16:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:56004 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbhJSVQc (ORCPT ); Tue, 19 Oct 2021 17:16:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634678057; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eGX3DkPpYpGXRrwMUxctHGFJQDGfHUM6kkQDDtznVBE=; b=ChZL+N9rO2bYBGDm1iouMJZ7LknI1j3bV4dk/cDbokocPri+2iyz5abECt0Avjyh+L2l+v RLELbaPuTlP95HPQRMOjzi6RTw0faSvrBNoQzP6IwWxZiB05cVtcQm4uNDMaixBmxGfYiy mPf5nNX4XZPSIGq3Icpe9Pzb1s5br9U= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-47-92i0sIO5MJOtLLx1fbgWHg-1; Tue, 19 Oct 2021 17:14:14 -0400 X-MC-Unique: 92i0sIO5MJOtLLx1fbgWHg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5036A80A5C0; Tue, 19 Oct 2021 21:14:12 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1BE0162AEE; Tue, 19 Oct 2021 21:14:05 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: To: Kent Overstreet Cc: dhowells@redhat.com, Johannes Weiner , Matthew Wilcox , Linus Torvalds , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Morton , "Darrick J. Wong" , Christoph Hellwig Subject: Re: Splitting struct page into multiple types - Was: re: Folio discussion recap - MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2981361.1634678044.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Oct 2021 22:14:04 +0100 Message-ID: <2981362.1634678044@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kent Overstreet wrote: > = > - page->lru is used by the old .readpages interface for the list of pag= es we're > doing reads to; Matthew converted most filesystems to his new and imp= roved > .readahead which thankfully no longer uses page->lru, but there's sti= ll a few > filesystems that need to be converted - it looks like cifs and erofs,= not > sure what's going on with fs/cachefiles/. We need help from the maint= ainers > of those filesystems to get that conversion done, this is holding up = future > cleanups. fscache and cachefiles should be taken care of by my patchset here: https://lore.kernel.org/r/163363935000.1980952.15279841414072653108.stgit= @warthog.procyon.org.uk https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log= /?h=3Dfscache-remove-old-io With that 9p, afs and ceph use netfs lib to handle readpage, readahead and part of write_begin. nfs and cifs do their own wrangling of readpages/readahead, but will call = out to the cache directly to handle each page individually. At some point, ci= fs will hopefully be converted to use netfs lib. David