Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4778202pxj; Wed, 12 May 2021 13:04:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVkvJ9tCaHYv+4Fx7ae0zt0l9qD48aRLtTclT/MtKmeb8tDpPoELWQcUjHJ58XQ0nHbrRF X-Received: by 2002:aa7:cdd8:: with SMTP id h24mr45174902edw.276.1620849847993; Wed, 12 May 2021 13:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620849847; cv=none; d=google.com; s=arc-20160816; b=wp/eqvC40eYPS3SRXFBAvcEgRe1K7XtGCk7K+/OQ+xzvRoQkxXshAsLTy1SBZsJvUP VxxaaYSSBupHnHb8ZzOVSs9rXzV2pjdm3C5H3wAWK3qD2BhjGcs2okHpz7jLouKATMIF kj8moSM9qTJ2nvwfr2GwJJ2rkRCuHBTdlw0nlg2FJmc51IUl94nTqBy2JWU07RHjypqD X4gyNhMHK20AzvL9HOO8AgrfK5Li56IcOi1s7VW4FVogzNJWOGIinZfgsP5xBU70xzFA yshf/w7oS93j9XMoVLtixQ3pf9IA/OkN0Mg2Tm7FYaZ9lkRZhYuIgmmgpOetEfPz6CRA Aomw== 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=JWP0l+BA0fGfCW3697UumhoAM6OZCftdKGj+XYdvmfw=; b=HRq/5T26j9Qx8dA++N8T/C3TNKgz3rx+Wmirq7EiL0+ikO+P1dQDiLV69VBWKF15vW VkQ0LD0Uh5yJE6Pz3wsLmN8fpQ+BGWmrROaMQaz82jBklxR6dNAFqcj0NaWJj8HDlZZE +7VP1jAzb3BYtloD6h6nbknM4jHosmUbtbtvfGQ8rB5cA8GnudZxpw09uo/iobPUYPnx lwT5Bg23phISgV7ulp6vAgByTlbaSK7bpTpf5gHxvFXW7WfgwWUBHD6aD3GrHhYJmf5W cGtenTypC3ooW4sLaU99IlZmQR5Vk+qMx7AZl3bPzRihzP8rEzVbionwG68CjUbMznEv 6E1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jau0A7xh; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m18si287158edc.151.2021.05.12.13.03.38; Wed, 12 May 2021 13:04:07 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=jau0A7xh; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239056AbhELT6y (ORCPT + 99 others); Wed, 12 May 2021 15:58:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381358AbhELTd6 (ORCPT ); Wed, 12 May 2021 15:33:58 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA230C061761; Wed, 12 May 2021 12:28:53 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id b7so31049933ljr.4; Wed, 12 May 2021 12:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JWP0l+BA0fGfCW3697UumhoAM6OZCftdKGj+XYdvmfw=; b=jau0A7xhAKhNGGJJ6FHnLqlBanUYsG4/Xgrwbeb7LF93cOfKc6gIGxtrG8L93G9h3f xdF/N+vTKym3eL4xJZqCUekg/qtC81Tq82Zcm246zcaw/353BgLe5X/qAD1uuA3b7IrD IcLGS5RDD44EnpQsLv65nnaiiB1xaG6CQkmXTC6jJ8DQg1bfNnE2GjMLcvjkSUXU7Tkg VlUIFCMH5svj1mEyjnxNd9qWES0Tnnq5+U/U/S+OEysNGMpsy8uJ6NIWTsIkPoqLPtBT qql0mtiN6aCZ2BkloTkbsla9sXJUTaekCXW9MzOQpPjLTQyxx9BNIhPPy7Ohsa/OrMQh GXcw== 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=JWP0l+BA0fGfCW3697UumhoAM6OZCftdKGj+XYdvmfw=; b=JQJIfBNcMdlF0YsN79upGcfc/jdVqcCXBSfVgqj7yRX4uGE9yv+qHeNIKtnfrdbWPx 4wiL15v9t5Zj7BYNEATLzmsbcBUVDabeItMcopFXRO2CnYahtNAbhuhJbEhyGJ3WMNwU eHgV7n0Y7QXfr3mjhPKVnJxM/CQ3LFsutbHvVtynnNVwwjP1BLCPJ6ADGETSr+pdLx49 +y+lHXCHdtkJKiSrYHCv9L4fl7dKqRXSyGPtsb/IRLRfds5cpCHopzOXWAzd2EDzD2o5 jkPXwnFm0P7Hd+QmY4YmngUdw0zRJ4J0m0ZjCpdMsfGcsI7NkINMDc4vap7a/s3VWIrF uKGA== X-Gm-Message-State: AOAM532OOQ2qkPQ72gO3JSxzVf+XWhiQwGn1UhUTQOLNWxPYZAt/tUWd xunkPDWwrYLOeaNRNYcUrF0gqqxUDojRsrtQGV4= X-Received: by 2002:a2e:7819:: with SMTP id t25mr9229961ljc.406.1620847732192; Wed, 12 May 2021 12:28:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Steve French Date: Wed, 12 May 2021 14:28:41 -0500 Message-ID: Subject: Re: Removing readpages aop To: Matthew Wilcox Cc: linux-nfs , CIFS , v9fs-developer@lists.sourceforge.net, linux-fsdevel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org I don't have any objections as long as: - we see at least mild performance benefit (or at least we are confident that no performance loss) - it passes regression tests (the usual xfstest bucket) - it doesn't complicate the code too much (sounds like it actually might simplify it, but needs a little more work) - make sure that the usual tuning parms still work (e.g. "rsize" and "rasize" mount options) or we can figure out a sane way to autotune readhead so those wouldn't be needed for any workload But currently since we get the most benefit from multichannel (as that allows even better parallelization of i/o) ... I have been focused on various multichannel issues (low credit situations, reconnect, fall back to different channels when weird errors, adjusting channels dynamically when server adds or removes adapters on the fly) for the short term On Wed, May 12, 2021 at 10:31 AM Matthew Wilcox wrote: > > In Linus' current tree, there are just three filesystems left using the > readpages address_space_operation: > > $ git grep '\.readpages' > fs/9p/vfs_addr.c: .readpages = v9fs_vfs_readpages, > fs/cifs/file.c: .readpages = cifs_readpages, > fs/nfs/file.c: .readpages = nfs_readpages, > > I'd love to finish getting rid of ->readpages as it would simplify > the VFS. AFS and Ceph were both converted since 5.12 to use > netfs_readahead(). Is there any chance we might get the remaining three > filesystems converted in the next merge window? > -- Thanks, Steve