Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2505515ybg; Fri, 5 Jun 2020 15:56:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyV9NHVZwF3VtAGnWFl0CnpBRDLLrXZR4jTxjQBMl2rhVQxWDZsSPo4C1oYu2XGIOqT/DjQ X-Received: by 2002:a17:907:ab9:: with SMTP id bz25mr10706627ejc.39.1591397803546; Fri, 05 Jun 2020 15:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591397803; cv=none; d=google.com; s=arc-20160816; b=1JyxaSybJxjeZ9wYx1VytgX04lJJ69fjdxNiDLMxmhoV58KUAbnepSkzjee3Dv5Rw0 cD5s4e9CJDpeQtr2QJ+ryrIFL8Rx1uyEJ50pMvcW8EPEbrEhg8/kBE+zrsjBrazsqHOm qyGGoQu8UhJjgrmwvh9FUBuwbHgNazQcn4GH8lOcxXHPJml/w9PRTA78qwiYnlMN2Wqs FP2H+UoHcGmwv8k4X8y3eBQJJfJEgjoatku+OtxSEkR0dULZbwnlr9pQF0SOUAYuCI8o BOAicyw0ZDoJTH6U6VjIyrxM3nvUFUt9H1+HXqv/Gf/cIl8OUjHG9nKbDHWYVuhTuYXF poVw== 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:dkim-signature; bh=rtqU8Me6/Sah9/UID3jwrcjOeBapOanB7BcyzdI38RE=; b=MATZx9hS0pSSoJUMB58PUGgJ0Mqq5W+PZ3XlMf6XjJiZ6cQjlxspYzhHXoC/3JiUA5 wPfm3otBKTgu1frp4TlWnXZBuCIFoMnsNwzSi4CupqgGpwFVA7Kse7r46/LUtbPIXwWB 20GuTEZuFN45kv5zYJahXsD04lEGZaDISAgJuhQkK+aTfUOI/F/gbkC67na5lV0eVLyd Q2AooWsATBF7GFUjWNS3axecAmnUtIl+9MI6UMlFsLi8iOELHiEYpknjWF6A13JWzDZK T74CdJ9ENFEB+nHQ24LEuX9n6gICAGM9ErRaHsqJ0ZZnUrTB6jWDltSMjChhlXOephtd ME8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b=NGldOqjb; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=X8bBfKOA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 89si4272557edo.209.2020.06.05.15.56.20; Fri, 05 Jun 2020 15:56:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@anarazel.de header.s=fm1 header.b=NGldOqjb; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=X8bBfKOA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728370AbgFEWyd (ORCPT + 99 others); Fri, 5 Jun 2020 18:54:33 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:51173 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728310AbgFEWyc (ORCPT ); Fri, 5 Jun 2020 18:54:32 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8F3035C017D; Fri, 5 Jun 2020 18:54:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 05 Jun 2020 18:54:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=rtqU8Me6/Sah9/UID3jwrcjOeBa pOanB7BcyzdI38RE=; b=NGldOqjbN3gwhGRInNltcTbw4a03Y13KaM7FEMNDCfo TOb2UbJeNc3EbelAmBQPNfZMSPLBwkLbucwynNBPagUJvEaFLvk+/XaPAjzCRXcs FixtTMhl84qs8y67E5cCcIgCQK3SsrNO8VytbraR+7lumEMQBtRt35Jjjv3ERhue n1p21/l0y+gIjQhbLy12yMVR2ZH2Rxmwv3ar1Rf2dVgrpkudtoJbako2WW4VwfPI nslfIdgmeY96gJgvNz85s6feC7PnNsfNwsjiufluenxOpRQiL2q6vPXdHJURjA1b ve5sQRK5mFctFy7BDv7NyHOkPl+FJ98E50ft/dgph7w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=rtqU8M e6/Sah9/UID3jwrcjOeBapOanB7BcyzdI38RE=; b=X8bBfKOA148xFnBZE901pr O5/u9eexom9QtfZ3HOuRrscMc702mw0pVdBfxE85/Ck0E5ybn6k0s7UMrCADgoMx lWkmOpnqt3q+6mHWcu5buc3Pv0jsiufqyvY5VSN/zcQBBDnfHxNmcn1n9/Gi9FFc G3E9AHYFvdeIgBKP4CSOquQvCn2ndVAJ2J/oe+0GuA7CHBsiI3NpW5qCwpKVuoyy 2zqqm8B5l3vY6SSvqjpxGCBI9DNA79CeaQDrXWLNqxgs/4ve729qnCXnkT3qa9uA Yn6mPjS41hDkXX6+gD4ON78YE8U2E9nqgVbKoIytndbxj2mtR+66U9utICzEqQug == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeggedgudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgurhgv shcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtffrrg htthgvrhhnpedukefhkeelueegveetheelffffjeegleeuudelfeefuedtleffueejfffh ueffudenucfkphepieejrdduiedtrddvudejrddvhedtnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdr uggv X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-217-250.hsd1.ca.comcast.net [67.160.217.250]) by mail.messagingengine.com (Postfix) with ESMTPA id CF5043280064; Fri, 5 Jun 2020 18:54:30 -0400 (EDT) Date: Fri, 5 Jun 2020 15:54:29 -0700 From: Andres Freund To: Jens Axboe Cc: io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org Subject: Re: [PATCHSET v5 0/12] Add support for async buffered reads Message-ID: <20200605225429.s424lrrqhaseoa2h@alap3.anarazel.de> References: <6eeff14f-befc-a5cc-08da-cb77f811fbdf@kernel.dk> <20200605202028.d57nklzpeolukni7@alap3.anarazel.de> <20200605203613.ogfilu2edcsfpme4@alap3.anarazel.de> <75bfe993-008d-71ce-7637-369f130bd984@kernel.dk> <3539a454-5321-0bdc-b59c-06f60cc64b56@kernel.dk> <34aadc75-5b8a-331e-e149-45e1547b543e@kernel.dk> <20200605223044.tnh7qsox7zg5uk53@alap3.anarazel.de> <20200605223635.6xesl7u4lxszvico@alap3.anarazel.de> <0e5b7a2d-eb0e-16e6-cc9f-c2ca5fe8cb92@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0e5b7a2d-eb0e-16e6-cc9f-c2ca5fe8cb92@kernel.dk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 2020-06-05 16:49:24 -0600, Jens Axboe wrote: > Yes that's expected, if we have to fallback to ->readpage(), then it'll > go to a worker. read-ahead is what drives the async nature of it, as we > issue the range (plus more, depending on RA window) as read-ahead for > the normal read, then wait for it. But I assume async would still work for files with POSIX_FADV_RANDOM set, or not? Assuming the system wide setting isn't zero, of course. Greetings, Andres Freund