Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1074393rwi; Thu, 3 Nov 2022 00:10:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5035LlBUHFXE8mC4ODX98udXXNiGtFZIBERGl6vPPGvKeF8tDgsqgu2t9NlSUr4PjqFH8j X-Received: by 2002:a17:90a:600a:b0:213:2a:851c with SMTP id y10-20020a17090a600a00b00213002a851cmr46651006pji.177.1667459409926; Thu, 03 Nov 2022 00:10:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667459409; cv=none; d=google.com; s=arc-20160816; b=C4nJ3t6sc6q5X/JDbeVpa15AK9DKytBXe/NuRemi3T0+gObdr2CXbgGbw1Gpb11W1O b4cQPmDeDpP9DBWWYFKaKso12aZpT5Eq36S5rl1xE4DlZx+BDBX8+Wf0gA0KbXs6KszP Nu+1nzobWSs3KMnt/3e5471Ti/4/SnKpeOe3JsZIFtuur4N7daoxfqH98sEnRto3MCxJ EVCpbhDfM43D4YlJ1BSljcoVjyV+7ejC1BX1a5IXdVUoftxSVezRYnKwDSUvg0e0Ah2+ 31G96jE+wlrucBsHXgrIYz0eZqQb096kFNuQWsS3xYDP6+Gm1r4lQqAM2AHRnJ8hFV2j PQIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UCGx+I//h802HOEchXeQ4l9Uif7TwqahE8c/QVCmorA=; b=GcWx7gAB4JeObXsQlCgPpXIKXJgRqE9wKQrbbVgO5bWKxR7mEpyXPFWiNUE5jmfeep TLSzSxEsGBtTUVVNce1qLutrP2XWCKtDgjqER7euPpet1vziCwcXVmROfSOtXnqsu6c2 h/y+nFUxABUP5szHqOn5bWJ94yL4WZ5hasCDQC4Tp4fW2sk6mYgCT0ZZQqSbwmkdKPa7 UPrp5ez69iNC2oTwHR+YnNW57K72JfpfUPCNUTfXoQx2XdgBdlwmgzoFSMCwfGwWw5be Dtx7xEgwCFoWTFzidjwGYxTgb7Zg94OGYhOnCAkU4aLEp64TvxTGbGeQ4SuKqOYwiPIA nSDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fromorbit-com.20210112.gappssmtp.com header.s=20210112 header.b=Qo0pCYgx; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z18-20020a170903019200b00186be035c64si22853023plg.416.2022.11.03.00.09.50; Thu, 03 Nov 2022 00:10:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fromorbit-com.20210112.gappssmtp.com header.s=20210112 header.b=Qo0pCYgx; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229975AbiKCHIP (ORCPT + 99 others); Thu, 3 Nov 2022 03:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbiKCHIO (ORCPT ); Thu, 3 Nov 2022 03:08:14 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2C766341 for ; Thu, 3 Nov 2022 00:08:12 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id l22-20020a17090a3f1600b00212fbbcfb78so4369682pjc.3 for ; Thu, 03 Nov 2022 00:08:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20210112.gappssmtp.com; s=20210112; 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=UCGx+I//h802HOEchXeQ4l9Uif7TwqahE8c/QVCmorA=; b=Qo0pCYgx3Qq1H7gtsjTo9ahtaWGAPbAqpUUP7w83R+hioFcvnb/Vum4t6njrIqmCbQ 9oglIFHFznb8HWDOhJ8VqGBZno5DvMa/i9rWqzvIS3F1Qe6lSOVMpDruWh58G2ZJDVRR +irGuRxsC3szEMLHnbBdSVWy+8gAtIi3/dsdlKShS4dWGsFcwevGYm9bbQNs76cqEy+l a7aTzEEQgFxLLhP1XqsxI1o93xRoLeyOkLszg3jyihUg4tqsI4qRKCp463KDJruVxcER uahSco4O56I/ia+N+pdnGxKbS5y4Jn6JIOipSvnU+FLMXl5F+IFO/pgiKOzrTt8rdoYE jcgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=UCGx+I//h802HOEchXeQ4l9Uif7TwqahE8c/QVCmorA=; b=s+hwCdAnPPaooGWP3fdQB3DNyQupJHtSYqELAuIlmMZDwHr467MXLRDx3xDFZnQjRq o4/m1XAspC6LvrlkGSP52k4sHWwkoUyi/CzmMWm3nDiFmqOaKUnxPUPbkLezOLcBCTTZ /2MrycgUKkRatgWP+zbMS5r17YHEsSTmVw04jE1uQksGjmn9Z87MbCy1LFbS769Nl+1u EwJ8RPbicMwsi4bNrNOGAkYw9uEijn9mxs5/G/OaI+sjTCnxXRLBBYX214v+BPPMdLVZ tARVqIzE4N1svGNzL1Lr9AqvrqByMdbuuTJ6aPBNhyCVOlrAacyJ5Fm+GpiA03x+bmZM rnHg== X-Gm-Message-State: ACrzQf1CR5TZ/1Ao/0Tca1Jsd7OHjHM6zFK2gCFwbMlf8jJQXp7aPEnV IN9DMnWlDDkruv/gZZ+c2mm8Wg== X-Received: by 2002:a17:902:ed8e:b0:187:1c78:80c2 with SMTP id e14-20020a170902ed8e00b001871c7880c2mr21606400plj.38.1667459292279; Thu, 03 Nov 2022 00:08:12 -0700 (PDT) Received: from dread.disaster.area (pa49-181-106-210.pa.nsw.optusnet.com.au. [49.181.106.210]) by smtp.gmail.com with ESMTPSA id s7-20020a170902988700b00179e1f08634sm9438901plp.222.2022.11.03.00.08.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 00:08:11 -0700 (PDT) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1oqUKd-009gYz-VX; Thu, 03 Nov 2022 18:08:08 +1100 Date: Thu, 3 Nov 2022 18:08:07 +1100 From: Dave Chinner To: "Vishal Moola (Oracle)" Cc: linux-fsdevel@vger.kernel.org, linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org, ceph-devel@vger.kernel.org, linux-cifs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, linux-nilfs@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v4 00/23] Convert to filemap_get_folios_tag() Message-ID: <20221103070807.GX2703033@dread.disaster.area> References: <20221102161031.5820-1-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221102161031.5820-1-vishal.moola@gmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Nov 02, 2022 at 09:10:08AM -0700, Vishal Moola (Oracle) wrote: > This patch series replaces find_get_pages_range_tag() with > filemap_get_folios_tag(). This also allows the removal of multiple > calls to compound_head() throughout. > It also makes a good chunk of the straightforward conversions to folios, > and takes the opportunity to introduce a function that grabs a folio > from the pagecache. > > F2fs and Ceph have quite a lot of work to be done regarding folios, so > for now those patches only have the changes necessary for the removal of > find_get_pages_range_tag(), and only support folios of size 1 (which is > all they use right now anyways). > > I've run xfstests on btrfs, ext4, f2fs, and nilfs2, but more testing may be > beneficial. The page-writeback and filemap changes implicitly work. Testing > and review of the other changes (afs, ceph, cifs, gfs2) would be appreciated. Same question as last time: have you tested this with multipage folios enabled? If you haven't tested XFS, then I'm guessing the answer is no, and you haven't fixed the bug I pointed out in the write_cache_pages() implementation.... -Dave. -- Dave Chinner david@fromorbit.com