Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6623548pxb; Wed, 17 Feb 2021 09:04:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJyr0lHegBBNJsitmWQSosAR80Lm29Ugm7rIOnxSoSa8SenOtFKcl0iMDK1Lt9Q2fvxGblgA X-Received: by 2002:a17:907:9856:: with SMTP id jj22mr8146091ejc.377.1613581442592; Wed, 17 Feb 2021 09:04:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613581442; cv=none; d=google.com; s=arc-20160816; b=ypIMWe1zjVmFSfPOWWawzD5YyxjmRVAR5g1bN6e5RGNVPx2Jm5fM7SIG52nevwxoVZ FWhR9jIWuFo2SsaXxjvoHxWhHbnTZaJEKt/PNuoQ4p6yG09JVTVlkqT7omnIGf5eGcKu sLWuIkqO4emNaU5z01QQo92PJTqJFoAzewk98PjlSwTBF2Vhwjzjxvj9pmPqu192sK10 X4BCLQiyzJOl9Im7Sj4pAE53ofQLARrhWVOjkxgs322qwXyaOhWrc8UigvRlIHCfORk2 G4iYeB9OzOR8zvjngrjtGdmHmeWZnnY7K8edaEOob5IBJ0T4A+5FGD+CvBvsHDAkgUdN hY5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7sO3sUZqmmuiy5ZWICfkEsaBnSxzPGcJa4JjW5AEhLI=; b=U/OikDWnSJqPfdIWZijf+OLJ4fjH8eJCunTfjuu+/MzK3OaFojhXUgvaN/mHsvEhC4 TxOoBU/Ww4kvkTJs8GI+D2inCyTyqBqVO44JlsUcgYQiojQ5a7uIzLGNtX/hTBJSadH3 ap6MnRWYcy6QSWMrTlQjhtDlyL0xrB/UrAFeoYFTgw4Ett+AWRi3vi/0JLiI2eNCtkMr e39JFycyjzpw5NK7mzzZFlyYenXW0/KTdXlS0XQVsArbIPPX+rFwt0m0Z4PVuZfwcLdq lMhOiNO83+jDpFYY7a8GEQzQDNdlAZAzFhCWiM0liECuc3698vNK2MFBa2vb4Wp1Ec0W ggHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@omnibond-com.20150623.gappssmtp.com header.s=20150623 header.b="wkvcOIo/"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t1si1775613ejc.524.2021.02.17.09.02.58; Wed, 17 Feb 2021 09:04:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-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=@omnibond-com.20150623.gappssmtp.com header.s=20150623 header.b="wkvcOIo/"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234310AbhBQRAM (ORCPT + 99 others); Wed, 17 Feb 2021 12:00:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234311AbhBQRAH (ORCPT ); Wed, 17 Feb 2021 12:00:07 -0500 Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2618BC061786 for ; Wed, 17 Feb 2021 08:59:27 -0800 (PST) Received: by mail-ot1-x334.google.com with SMTP id b16so10200326otq.1 for ; Wed, 17 Feb 2021 08:59:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=omnibond-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7sO3sUZqmmuiy5ZWICfkEsaBnSxzPGcJa4JjW5AEhLI=; b=wkvcOIo/YOiyjJMcPp9t49oCoUuB0gAAXQOA0MaUAjtskFk4Y0zabPTmfPgIVj7S9X 6m4bAQCAN+3eyk2moKhxkMLMHHsa4aCZhxjaV8ydaA1JKvJevC6E7yHwnT+GGn2n6Ozi 46vBTDf/msm46ed3SMv2GWg6LW7yHHgTcQP8J1x7kK5lUTCGzzB3bPk5SP4FKAeyEFDz p6ciTaj85L6iXgw0dC/67tFnsvY0vAY/nZ4dNNdw2UUOJTgGSEEbrdVEXlJxJJZIm1BJ TuwrXToQ9KalPFlBbTGo7eqFOHbfFuTrqO8W7W9EGN/qBxvcyw3G+iuQ9petlOE3k5Wu UoWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7sO3sUZqmmuiy5ZWICfkEsaBnSxzPGcJa4JjW5AEhLI=; b=lLY4kVxQ3GUS9pvXEho4wH7sbHdxFUUddt04z34zE/GmGVjZ8fFthMdnpa+0GgaG2i lZ+4J7t1LJyia3N5FYrqZ8zAW61f7+Wc63VO5DxUWxOni+OHDR/sk9DtAq7A9xiEd30e Qu3E704jh8ZHeqZcepK13WswVdPlifgCN6vU+9sg9fg5ajq9REnzuAM+hAZi4cbULycV 0RNYWHBtJcJWcwxTL7K9YsFWvUfBwkrqzn9BS1ub7oLMUnA++TFOYrkgLGAuXUTHKeV2 OM9ycmTU/PZjx/ytG8ck5szV5dX13/VSyiqHyR1h0lLAWj2hCv/0TsJQ1oC+ofMNslQz tvmg== X-Gm-Message-State: AOAM533JiLEdqzu30611R+ylgh8c1exzbcuLlhNwAGn7JG4psu2WqOry ZrUOlCtYFrEEYu6n80UqP6eiSm9RJGNw4PGI6hnZRw== X-Received: by 2002:a9d:6c4c:: with SMTP id g12mr66707otq.53.1613581166449; Wed, 17 Feb 2021 08:59:26 -0800 (PST) MIME-Version: 1.0 References: <161340385320.1303470.2392622971006879777.stgit@warthog.procyon.org.uk> <161340389201.1303470.14353807284546854878.stgit@warthog.procyon.org.uk> <20210216103215.GB27714@lst.de> <20210216132251.GI2858050@casper.infradead.org> <1586931.1613576553@warthog.procyon.org.uk> In-Reply-To: <1586931.1613576553@warthog.procyon.org.uk> From: Mike Marshall Date: Wed, 17 Feb 2021 11:59:15 -0500 Message-ID: Subject: Re: [PATCH 03/33] mm: Implement readahead_control pageset expansion To: David Howells Cc: Matthew Wilcox , Christoph Hellwig , Trond Myklebust , Anna Schumaker , Steve French , Dominique Martinet , Alexander Viro , linux-mm , linux-cachefs@redhat.com, linux-afs@lists.infradead.org, Linux NFS Mailing List , linux-cifs@vger.kernel.org, ceph-devel , V9FS Developers , linux-fsdevel , Jeff Layton , David Wysochanski , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Matthew has looked at how I'm fumbling about trying to deal with Orangefs's need for much larger than page-sized IO... I think I need to implement orangefs_readahead and from there fire off an asynchronous read and while that's going I'll call readahead_page with a rac that I've cranked up with readahead_expand and when the read gets done I'll have plenty of pages for the large IO I did. Even if what I think I need to do is somewhere near right, the async code in the Orangefs kernel module didn't make it into the upstream version, so I have to refurbish that. All that to say: I don't need readahead_expand "tomorrow", but it fits into my plan to get Orangefs the extra pages it needs without me having open-coded page cache code in orangefs_readpage. -Mike On Wed, Feb 17, 2021 at 10:42 AM David Howells wrote: > > Mike Marshall wrote: > > > I plan to try and use readahead_expand in Orangefs... > > Would it help if I shuffled the readahead_expand patch to the bottom of the > pack? > > David >