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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8AC9C433EF for ; Tue, 19 Oct 2021 21:14:19 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6701260174 for ; Tue, 19 Oct 2021 21:14:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6701260174 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 98ADA900002; Tue, 19 Oct 2021 17:14:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 913D76B0071; Tue, 19 Oct 2021 17:14:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7B36B900002; Tue, 19 Oct 2021 17:14:18 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0067.hostedemail.com [216.40.44.67]) by kanga.kvack.org (Postfix) with ESMTP id 67B0D6B006C for ; Tue, 19 Oct 2021 17:14:18 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 2954F3FA69 for ; Tue, 19 Oct 2021 21:14:18 +0000 (UTC) X-FDA: 78714440196.19.15C0B50 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf13.hostedemail.com (Postfix) with ESMTP id 5296D10413C1 for ; Tue, 19 Oct 2021 21:14:14 +0000 (UTC) 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 Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=ChZL+N9r; dmarc=pass (policy=none) header.from=redhat.com; spf=none (imf13.hostedemail.com: domain of dhowells@redhat.com has no SPF policy when checking 170.10.129.124) smtp.mailfrom=dhowells@redhat.com X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 5296D10413C1 X-Stat-Signature: n4n5m968gxce5xw1tmzojtxngc7qyboi X-HE-Tag: 1634678054-85097 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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