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=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 CBF6EC43381 for ; Wed, 17 Feb 2021 22:22:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A168F64E5F for ; Wed, 17 Feb 2021 22:22:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233718AbhBQWW3 (ORCPT ); Wed, 17 Feb 2021 17:22:29 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:21304 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233719AbhBQWWX (ORCPT ); Wed, 17 Feb 2021 17:22:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613600455; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=B3y9B+k/z5xQZKi1oGvlGylvRbdgqvzBX+Fa2hqmNlA=; b=XhsMSpHz/hPYbU1dRkPfoJMmbJJeeZ0uf065yuVvXs2JTkunjCoI144e1WsBVclIMokjSl +mIMaVhlZb3Hl5mJ5CZG4ZFCDALgmZvcJs8aQrtpq7CxRuQqHfgbM0tM8i6Z91P5CsT7CG RqnFdjYVBTOPbm3wxSEbx1wGeYP+L64= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-143-GNHqtBxsM-aKk7S1VsT3AA-1; Wed, 17 Feb 2021 17:20:52 -0500 X-MC-Unique: GNHqtBxsM-aKk7S1VsT3AA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 77D1D803648; Wed, 17 Feb 2021 22:20:49 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-119-68.rdu2.redhat.com [10.10.119.68]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0C26510016DB; Wed, 17 Feb 2021 22:20:42 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: 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> To: Mike Marshall Cc: dhowells@redhat.com, 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 Subject: Re: [PATCH 03/33] mm: Implement readahead_control pageset expansion MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1900213.1613600436.1@warthog.procyon.org.uk> Date: Wed, 17 Feb 2021 22:20:36 +0000 Message-ID: <1900214.1613600436@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org Mike Marshall wrote: > 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. Would the netfs helper lib in patches 5-13 here be of use to orangefs? Most of the information about it is on patch 8. David