Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2365980ybv; Fri, 14 Feb 2020 17:17:39 -0800 (PST) X-Google-Smtp-Source: APXvYqyvnGSqygBspV9+OpVkIK8y/NLwFNEPZpnA1qEsPk9H17K53JmPzLS0Ja7d+QzWFnaitpCM X-Received: by 2002:a9d:5888:: with SMTP id x8mr4271477otg.361.1581729458909; Fri, 14 Feb 2020 17:17:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581729458; cv=none; d=google.com; s=arc-20160816; b=Daoc/YWvGAhdRVhkMqJMvuukVhkHsK/sD21//HyCgbxNMctQkmBWMSHQckrjHfxr92 zUVVoHSvc/qC36JxZ0uKCcgsIWo8z4OHQ4F7IAlR0F4zk0NdJW9k2kZZ/yzvtfOebzaA NC5ino84eHL159b31X72pmJza0rrrlTTRvf5JbpOEw8s/YXtkDsWuXdihDXnW0loZQPW gaciX7eet/NklC5w4vwfjR7/N6Dw7hZJsNJTQ14E87B+HPgbKgCf1zUUY0R/4EtTlBfq qPUxnxsRF1tL66Utm7HFmVX4BpFCY4161QpUvjJ5mnxn7diFDki9vt2Ja7cvz55/Js2j hy3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=rLBAYvHDyQG068qFXc4PKikpMZL0O5lvrEMnkVr84hY=; b=to/9N08KDuqVPgleH7IwVJjy/W7oFW0n8k5X3NuO84mMbryGEShQQGYxjCK1Dl3SXS aUq3LZwdBUHLPArFhBseaXtUAHI0gXUkj0HIQfD/pPLU13TdZN+D9RU9fmU1AjDRKuuz J5FycLSBJup0ZjIF7Yw3NaYdf9FtuPQbmSJUkKcoZJ5VXZLqXpSBRw+Ji3wcK8MFulfB RIratmJpHmQg1iQ5MHYuLSN5FRwWAWntCD6FcFTnYbHSkdlcs1OpHSc64nQmZ3in9UL1 hgRbGbIeraqcU8c75CqGnE/PU2r8W2suWXx4J55HTqWWethIwaTAf5DH02T9oQ2fPBGB cNzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=pp4+jYrd; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e23si3625470oie.105.2020.02.14.17.17.27; Fri, 14 Feb 2020 17:17:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=pp4+jYrd; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727915AbgBOBPx (ORCPT + 99 others); Fri, 14 Feb 2020 20:15:53 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:51290 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727602AbgBOBPx (ORCPT ); Fri, 14 Feb 2020 20:15:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=rLBAYvHDyQG068qFXc4PKikpMZL0O5lvrEMnkVr84hY=; b=pp4+jYrdtIiCu1ZmQd3UA6AYr/ 85A+NhPrb4RLR40lY3uBj4FXFTAWs54cubURwUY781EoXTIC1BHmzzNCBvBY8CryBQxMU/K9kCyDD Uej9VEruUNuHLfKPM4kfSaYvl7cRuRpvE6a4DUQXDHXn67rTy5ieMKlxLHoaPREJTum8bIQ9MN9Gw zdza5RTyE51eZi3yeNdHM+vbtFO0NAVQHI+/F7pxpuo7utWxpPvSsEQWVwOfY7b3Djjfu7uYZbJKq pEcZMax/EA/FGJvJyodBK0tcSq1rmhd9c8O3RFfEaCuHnm/yRy6hPamomhAD6zwSpAIRbrf8oTm28 VPquc2zA==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2m3k-00083J-V5; Sat, 15 Feb 2020 01:15:52 +0000 Date: Fri, 14 Feb 2020 17:15:52 -0800 From: Matthew Wilcox To: John Hubbard Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-erofs@lists.ozlabs.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, ocfs2-devel@oss.oracle.com, linux-xfs@vger.kernel.org Subject: Re: [PATCH v5 03/13] mm: Put readahead pages in cache earlier Message-ID: <20200215011552.GE7778@bombadil.infradead.org> References: <20200211010348.6872-1-willy@infradead.org> <20200211010348.6872-4-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, Feb 13, 2020 at 07:36:38PM -0800, John Hubbard wrote: > I see two distinct things happening in this patch, and I think they want to each be > in their own patch: > > 1) A significant refactoring of the page loop, and > > 2) Changing the place where the page is added to the page cache. (Only this one is > mentioned in the commit description.) > > We'll be more likely to spot any errors if these are teased apart. Thanks. I ended up splitting this patch into three, each hopefully easier to understand.