Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2187890rwi; Thu, 3 Nov 2022 13:51:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5gMchy/cz2veP0PrnP1RF27+pXtL7LWhamBjK9YFHKoxdaT7N2x8vmXmETmE8qT1hgTZqW X-Received: by 2002:aa7:d14f:0:b0:463:a5d3:fb95 with SMTP id r15-20020aa7d14f000000b00463a5d3fb95mr17188934edo.237.1667508663961; Thu, 03 Nov 2022 13:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667508663; cv=none; d=google.com; s=arc-20160816; b=cGNgGCJDbgnpJt0S5ZnBoci5USUonZXejpae+wYyu4fKdhQXHYrk4myKOBCnOlOvTN vWrjnizF/s2GC9wXTZrtbDrTu+SFYu+YxGLCXszMBEmihM1UNgZAhWfrtRsLraVlqQJg umJQNIYIX5TqkXf2asLEcTGv/WpQhtjvJXCMYPDIMcc5P4joGkrdOvDxppZZcRNdXyLg HcFXpQFOTNhLpO3QxAwyH+kvNKytcNdbh9CZz96PdUSj9UBFpW2lLaspS4elCcbPaUQA y2d9cOKgRo4cOmsY8H5eDmUdCkscQAKSoLm8m/+I3H21P20hdntMm1W4equmNoEiyr07 Q5/A== 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=MxS/4UcS9QV06TA42jz+n7cPJ0B1Da1lpvr3ubjc6GY=; b=FbFaQoM9w+hIpNgaIyI3YIDQ4KvYYGnrhCP3j27BmgfTve7LAJJtcygQr70qOMxXKm KS4KG5h60p0NhcyKf/kV9X8f1KvmHh9lw6j4egisTIiTHbgsjdhLIyk5qqjI6WKkqpw9 rP4Yj1LSexBb9vRvwT9sdgkrWE/bw02sOEWN8Hecg0Abp4IOY/bcwyeQmq8u2nuBTpg7 Xiqn3hpsRfhXABGotzE8jNCtcv8MAeuZhmTuZuy0mYIux2/Hx3AKJW6Hb+IieRMnQ/X9 5EzPy1fHgMqqqn3khCLR+BaXf/xNHnVW1HTmMgsMDNfTgkACqgnP6vgtzjWCnHO/Jr4D Dw3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fromorbit-com.20210112.gappssmtp.com header.s=20210112 header.b=cuP5UtrV; 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 p34-20020a056402502200b00461b22b19b8si2095276eda.511.2022.11.03.13.50.23; Thu, 03 Nov 2022 13:51:03 -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=cuP5UtrV; 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 S230513AbiKCUrY (ORCPT + 99 others); Thu, 3 Nov 2022 16:47:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiKCUrX (ORCPT ); Thu, 3 Nov 2022 16:47:23 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 009D020BD8 for ; Thu, 3 Nov 2022 13:47:22 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id z5-20020a17090a8b8500b00210a3a2364fso6424717pjn.0 for ; Thu, 03 Nov 2022 13:47:22 -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=MxS/4UcS9QV06TA42jz+n7cPJ0B1Da1lpvr3ubjc6GY=; b=cuP5UtrVPLmPkgDyIU7nXUWip6wPNwEQX83eaiYzuSaa/NwaBOHxdiCCYvHyd3mrWb UX4IYw78zXIF0mMu0R7qDreIqrr7PvviOTacDCidW9f3UUssGYk9RosDNLvY+hm88Tz8 hEooCKFouHczA6F3wBjXPLYrpYIszUEwnYnlDxkOvhuNi8oE//fz5w1SOEhhUUoWt77E pAHn5L/ZZzWw3HkpcasZr6hnf6O/XMcGhjxvLwJ33vohngsJ1KBKVvIfn+XAYIa1YRVX Vkpw4CNDgLSlpQfjW7+15/HKqs/xOt8+2WdHOo1jGBPReCKhIlOzYbvvyYROh/eydkAD rc0Q== 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=MxS/4UcS9QV06TA42jz+n7cPJ0B1Da1lpvr3ubjc6GY=; b=jQ18LWutU8rgyQKNI3VTLaE9cfdZ1BKG0+HTBiDXkGrC52y6qJOEiRmqhcldUEwsjG l6UGXcaPbmSYyPX8gff7UC0qljxB25FqcRa4S9RgB0UZdHI7bFlOZltpkmpihJ7pD50T 5qTso9UVJsbE81CR/cQNj5PBkBxBhsjGIfhQaUtIwLhXKADOr8HuJ6DPeI+IrR40/aek b4LxhOvjFxLlNmyB9kXNQeuLM5NvkfsWCuEGr6U8XcS7+mYU6U7yQl2UoZhk2SIdOSiC LuC2vgYRf7xYXnoVj4sFP2EdFW/4Z5HtDFYSUj6paxfoyUFdyggR1i32fYgdktf8zzSc hByQ== X-Gm-Message-State: ACrzQf3u+lCnTq1PFihvMRa44YSSdz8Prx4kciBStlQGX+nZqds11Xyl Gvucauvu2dM5HgT5tBoT6Q3mLg== X-Received: by 2002:a17:90a:5781:b0:20a:9962:bb4a with SMTP id g1-20020a17090a578100b0020a9962bb4amr49118773pji.185.1667508442530; Thu, 03 Nov 2022 13:47:22 -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 y12-20020aa78f2c000000b00561b455267fsm1205656pfr.27.2022.11.03.13.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 13:47:22 -0700 (PDT) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1oqh7P-009uXX-4a; Fri, 04 Nov 2022 07:47:19 +1100 Date: Fri, 4 Nov 2022 07:47:19 +1100 From: Dave Chinner To: Vishal Moola 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: <20221103204719.GY2703033@dread.disaster.area> References: <20221102161031.5820-1-vishal.moola@gmail.com> <20221103070807.GX2703033@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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=ham 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 Thu, Nov 03, 2022 at 09:38:48AM -0700, Vishal Moola wrote: > On Thu, Nov 3, 2022 at 12:08 AM Dave Chinner wrote: > > > > 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.... > > > > I haven't tested the series with multipage folios or XFS. > > I don't seem to have gotten your earlier comments, and I > can't seem to find them on the mailing lists. Could you > please send them again so I can take a look? They are in the lore -fsdevel archive - no idea why you couldn't find them.... https://lore.kernel.org/linux-fsdevel/20221018210152.GH2703033@dread.disaster.area/ https://lore.kernel.org/linux-fsdevel/20221018214544.GI2703033@dread.disaster.area/ -Dave. -- Dave Chinner david@fromorbit.com