Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp535695ybg; Mon, 1 Jun 2020 07:51:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjQQp8aaN++8F26sKb/U6ba1EA3fwOltkZgH4ZhCyEZ3nG5KSwZtsVySm8C3sKCwoiZWG7 X-Received: by 2002:aa7:c617:: with SMTP id h23mr22768452edq.305.1591023072087; Mon, 01 Jun 2020 07:51:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591023072; cv=none; d=google.com; s=arc-20160816; b=kmlaP+7MktMJ0tIu4xkXJ0my3NWNX5ShXjfuumZVag0W/lEurNpV0QVPLjKNpa1OxV LxhqbuFzgHFRNeHeBYEjYRjelwm70Rr9dw7+KIyjhZf14zE0/k2Vtk+wvlEWfjOZ8IU4 rtBHLO7OdejtPUHvUtm22x2LbMfV7BH1AqR6ZGH27///RkXSgAtDS+m1ERE7cb4Wsnng W598tvtgFuasiySOXr6d4hde5q2g5KSjTNyqlzvPBxypziGT/GUUIkMLJ+pauuruDrSR BFPAGr7qatUFBWBCaeQ1yNJhoZlWPyLAz/eNt8feqJDu0kz05ReyjteWint5r29Ll0CN xfQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=PJv6mD+yHUR+Vq/e8xKUWkbuEu0YctS5xT5X44k6oTo=; b=n0WLZ8zq8Sv72HigjwJRjTRXPM6M+fOGnWplUVzsexfsbkNuLem+f6QlOO4jG7vymJ fv2RI/aUb2hYvq7bKdgQcfHxe0KYFCSPetVzPcrlkb+Gb98WeSC+hbx//yt6ZaCeoEm2 yi8dv1r6xHZVvVVnGxaMPkDiIZQLpKFOOTOzqxTnsCI+EAXS4VCcT9OKkEOiqANLSEs0 amvfK86sCnBsGcmCacRu28pOFGBchT51lou1AAXkrTPKllHKFth9dd5oteHwEdjkGTva HGr1RpB/eLYZgQn8m6x4VuMsyB+SrW35E0ya7+KOCrDCPNkLW429nUHJoNaWU9cNr9+G Y7rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=Om+p2SKX; 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 g1si10657865ejf.546.2020.06.01.07.50.49; Mon, 01 Jun 2020 07:51:12 -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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=Om+p2SKX; 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 S1727056AbgFAOqk (ORCPT + 99 others); Mon, 1 Jun 2020 10:46:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbgFAOqj (ORCPT ); Mon, 1 Jun 2020 10:46:39 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF6A9C03E96F for ; Mon, 1 Jun 2020 07:46:39 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id s88so4656784pjb.5 for ; Mon, 01 Jun 2020 07:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PJv6mD+yHUR+Vq/e8xKUWkbuEu0YctS5xT5X44k6oTo=; b=Om+p2SKXwpHoqkI7QRrOtvHf52TeMgu//ne7X47C76RYZhF2dx6vUVrsvsuMKUYYiz JVwtEgmWL2gkMt+Fh0caZ++5jORUSDQtdWdKC01rl+MryRE8Cu7AwvcNOuYioSmB2rHN 77GyRlgW3dejh95iQS6rWA/p3DOwH8R04Q9IDlab0nT9Is6XXphmg5I27E5G1pEE4bR/ 5GnudhgNla9manTS8V7AvESciXfrOJGZdsbt0vZcBvM1hsuiI20ePbgbnpa7GEyI0ooT YKM5BtlUSAdIRckTguVbGeVFYChUvumADSQVhPtjv7Ywm3T1Jwc9GUKuZICrgnUrnHXn g7Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PJv6mD+yHUR+Vq/e8xKUWkbuEu0YctS5xT5X44k6oTo=; b=kXqoXcqpE1zrt63sMkmmcAH7jjbfwd8Jf5PcgZnYuG6orgONovtKayzwEvQdKbu0Bs 6BCKCQx2bD2dskehoCXy0MZUG2ISqLFSGR5YW7+A4bKfP7Vi7nsOFyLMiRQLkyQMp0YV 8qpca7HdJiqxWkPho9ajM2A0VA6S6cDELwzAAu0OLwEidTx5jTiNkqmHplaX2W609p1p GhU5kEfnIGshviZMNIPphh5j3X2jxfxON9KJxZdtRbuCGEuSfXAEUtYBCVCHRJcsmF4d rP0YNhtCi2dURnT88qvzereZpWOnUQpAa0cRNdRRqpUA1MYj+GVu/XnSZaN/lq7JjeGC 1cNA== X-Gm-Message-State: AOAM530sLaU45EXLCPb0IZyRh31Q5yQkPbY7sv9HTiHG2NSL49UfDsTX CNIT8DD29dzSO7lC65m63SOm0kND2G8UvA== X-Received: by 2002:a17:90b:3d4:: with SMTP id go20mr25678281pjb.208.1591022799024; Mon, 01 Jun 2020 07:46:39 -0700 (PDT) Received: from [192.168.1.188] ([66.219.217.173]) by smtp.gmail.com with ESMTPSA id z1sm6096066pfr.88.2020.06.01.07.46.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Jun 2020 07:46:38 -0700 (PDT) Subject: Re: [PATCHSET v5 0/12] Add support for async buffered reads To: sedat.dilek@gmail.com Cc: io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org References: <20200526195123.29053-1-axboe@kernel.dk> <230d3380-0269-d113-2c32-6e4fb94b79b8@kernel.dk> <455dd2c1-7346-2d43-4266-1367c368cee1@kernel.dk> From: Jens Axboe Message-ID: <412ec6a7-90c9-5856-bafe-12c8fe2135e7@kernel.dk> Date: Mon, 1 Jun 2020 08:46:36 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/1/20 8:43 AM, Sedat Dilek wrote: > On Mon, Jun 1, 2020 at 4:35 PM Jens Axboe wrote: >> >> On 6/1/20 8:14 AM, Jens Axboe wrote: >>> On 6/1/20 8:13 AM, Sedat Dilek wrote: >>>> On Mon, Jun 1, 2020 at 4:04 PM Jens Axboe wrote: >>>>> >>>>> On 6/1/20 7:35 AM, Sedat Dilek wrote: >>>>>> Hi Jens, >>>>>> >>>>>> with Linux v5.7 final I switched to linux-block.git/for-next and reverted... >>>>>> >>>>>> "block: read-ahead submission should imply no-wait as well" >>>>>> >>>>>> ...and see no boot-slowdowns. >>>>> >>>>> Can you try with these patches applied instead? Or pull my async-readahead >>>>> branch from the same location. >>>>> >>>> >>>> Yes, I can do that. >>>> I pulled from linux-block.git#async-readahead and will report later. >>>> >>>> Any specific testing desired by you? >>> >>> Just do your boot timing test and see if it works, thanks. >> >> Actually, can you just re-test with the current async-buffered.6 branch? >> I think the major surgery should wait for 5.9, we can do this a bit >> easier without having to touch everything around us. >> > > With linux-block.git#async-readahead: > > mycompiler -Wp,-MD,kernel/.sys.o.d -nostdinc -isystem > /home/dileks/src/llvm-toolchain/install/lib/clang/10.0.1rc1/include > -I./arch/x86/include -I./arch/x86/include/generated -I./include > -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi > -I./include/uapi -I./include/generated/uapi -include > ./include/linux/kconfig.h -include ./include/linux/compiler_types.h > -D__KERNEL__ -Qunused-arguments -Wall -Wundef > -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing > -fno-common -fshort-wchar -fno-PIE > -Werror=implicit-function-declaration -Werror=implicit-int > -Wno-format-security -std=gnu89 -no-integrated-as > -Werror=unknown-warning-option -mno-sse -mno-mmx -mno-sse2 -mno-3dnow > -mno-avx -m64 -mno-80387 -mstack-alignment=8 -mtune=generic > -mno-red-zone -mcmodel=kernel -Wno-sign-compare > -fno-asynchronous-unwind-tables -mretpoline-external-thunk > -fno-delete-null-pointer-checks -Wno-address-of-packed-member -O2 > -Wframe-larger-than=2048 -fstack-protector-strong > -Wno-format-invalid-specifier -Wno-gnu -mno-global-merge > -Wno-unused-const-variable -g -gz=zlib -pg -mfentry -DCC_USING_FENTRY > -Wdeclaration-after-statement -Wvla -Wno-pointer-sign > -Wno-array-bounds -fno-strict-overflow -fno-merge-all-constants > -fno-stack-check -Werror=date-time -Werror=incompatible-pointer-types > -fmacro-prefix-map=./= -fcf-protection=none -Wno-initializer-overrides > -Wno-format -Wno-sign-compare -Wno-format-zero-length > -Wno-tautological-constant-out-of-range-compare > -DKBUILD_MODFILE='"kernel/sys"' -DKBUILD_BASENAME='"sys"' > -DKBUILD_MODNAME='"sys"' -c -o kernel/sys.o kernel/sys.c > fs/9p/vfs_addr.c:112:4: error: use of undeclared identifier 'filp' > filp->private_data); > ^ > 1 error generated. > make[5]: *** [scripts/Makefile.build:267: fs/9p/vfs_addr.o] Error 1 > make[4]: *** [scripts/Makefile.build:488: fs/9p] Error 2 > make[3]: *** [Makefile:1735: fs] Error 2 > make[3]: *** Waiting for unfinished jobs.... > > I guess block.git#async-buffered.6 needs the same revert of "block: > read-ahead submission should imply no-wait as well". Sorry, forgot to push out the updated version. But as per previous email, I think that major work should wait. Just try the updated async-buffered.6 branch instead. -- Jens Axboe