From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 052F8C433DB for ; Wed, 17 Feb 2021 16:59:29 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9438064DF0 for ; Wed, 17 Feb 2021 16:59:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9438064DF0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=omnibond.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 1F4166B0071; Wed, 17 Feb 2021 11:59:28 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1A5B46B0072; Wed, 17 Feb 2021 11:59:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0BBE86B0073; Wed, 17 Feb 2021 11:59:28 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0232.hostedemail.com [216.40.44.232]) by kanga.kvack.org (Postfix) with ESMTP id E80D76B0071 for ; Wed, 17 Feb 2021 11:59:27 -0500 (EST) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id A4F8381F3 for ; Wed, 17 Feb 2021 16:59:27 +0000 (UTC) X-FDA: 77828370774.28.story30_0b08ae72764e Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin28.hostedemail.com (Postfix) with ESMTP id 7E4E381D7 for ; Wed, 17 Feb 2021 16:59:27 +0000 (UTC) X-HE-Tag: story30_0b08ae72764e X-Filterd-Recvd-Size: 4634 Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) by imf11.hostedemail.com (Postfix) with ESMTP for ; Wed, 17 Feb 2021 16:59:26 +0000 (UTC) Received: by mail-ot1-f46.google.com with SMTP id e4so12611897ote.5 for ; Wed, 17 Feb 2021 08:59:26 -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=nmEPPh9442WaJW42fxanRpQDPMropx4Pv9qPtpMavwk9CuQhYmsAi7oUzhaUzekpXK mt9eLY4/5KRKXsEH7Baqbg28CRlTE+XjVnP7QBe/sRkh02fjPdcqKVUGx/sL7RsJu5MX DgFjzSeLJ6ZvB5Wdi6CoHVwfNjeFhpev1xMjVK8sKbP3GVCqMfdAQk0I3hZpMhKYDBcS Llz2IBg5A83ppgAT4d34I1WvZpKjE3lqlIfW/4CI5VtNHmlIGXhT2k/4PbQDC3wmasVt +itztojnyTwYfnn3FcEQo397Zbers+SanrQeMp/HuwdUq+kMW2b43e9m6qByArcuMQCi DWbg== X-Gm-Message-State: AOAM530QgMMfC+1VZgbQ4MYzeNJlE9ql47aC4biACqBKXtflDoCPsgUA NpGhDdt4Cbs3VIH2NRyF4Nt61U3ldLDC6wlbl6zwrQ== X-Google-Smtp-Source: ABdhPJwChss0o2dxG2RNWJW1xeyysww7AKgNgkTjjECbssh7P0+Vree7tQLd/y6uY6aD7E7WIsZvOGZ0HXpRVi3fZGQ= 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" 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: 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 >