Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp358915pxj; Thu, 13 May 2021 06:40:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzylq2e5LtgBuNGmyq0b8gfXrXBVdGnA/5VRFOYQPqq01W+S3aLNM2MwjkaimFxYKLCJOly X-Received: by 2002:a17:907:161f:: with SMTP id hb31mr43987138ejc.514.1620913228016; Thu, 13 May 2021 06:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620913228; cv=none; d=google.com; s=arc-20160816; b=sxtbfV5l4PhMZG+BsQmHjEudqoa8rZDqUnl/Es52D90jPOgrPa7qX6NSjZIuUMmHVk Gqwk4+jr7dcF3sDNvFKrRR+f3CB8GxTdDLNBNHDm3ArqhevF+JoHl8ZzJ6myTI/rEzfl +iymy3ouQkxuKwr/7lAODSfHwaEvRjz+4yKMNRusyso/Tj5z7b6eVmcapMSGt1OwMNCk ldRogUc6V9oVea/xW2ateuqXeHZArNnIbgUXpRdo126iXIxof2k/96xAG2ptHnSzQu0m ZnQq0VnxBQ+WPLyE01mZAZvJtJp4BdSRvHmu0RRepdwHWKf9NCW+JKBk7A6ELUOfhcmv KAnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7qdcsekCpDC0XbH1OXVUDI58yFo8Z7At/i6/i0XMALI=; b=AtqnjkROPSc70lueZ0AkCk9hhnvqOaWwrJXfDEm9w/bop6GaP6/1RZlyMnFx7WsieG BiO5nqK32o7Y2tZxOc/smcPNVHN+Cu99xZAr+aKM+z4Se9mfHN/OLo4RTHjpcwMBirQ4 fVug+XJHz8PQ+me6OPHVTGq8wE8pi4HSvu75bbGakumEgsCMhuVBjCRNfo/xWYF8GgA/ /lRrygD/EJCMJqnCReQMJ+M8LVtFN/o8/q9Gj7enq4egwpJekTRjXAWAJLzaBDJFW36a 26Klg4FBMXkKVg9G4cUQ4xjRcuCPjKjU52NZul+BXqRPaVbMp34x0HgUKW6Ft1vQqlao VjAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=tfkCjdPh; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si3712547ejd.575.2021.05.13.06.39.57; Thu, 13 May 2021 06:40:27 -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=@infradead.org header.s=casper.20170209 header.b=tfkCjdPh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234141AbhEMNjm (ORCPT + 99 others); Thu, 13 May 2021 09:39:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234106AbhEMNjY (ORCPT ); Thu, 13 May 2021 09:39:24 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AC79C061574; Thu, 13 May 2021 06:38:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=7qdcsekCpDC0XbH1OXVUDI58yFo8Z7At/i6/i0XMALI=; b=tfkCjdPhG2JWyiamQqLUcVIUaa XIAK/k2n62tt+Wbf/46OEwAYMQmA+a7bxfjCQNJeofqSoJn1tx8g09UAvpof8TiISSa9sOFxVSN8w nCvW92rZta0Ztby0RSYVTKYOkyXuxIu5khMZE9L+bS3UvMSj+aeeIUOr7y/BZ0s3moMIBGnmRaaSy 08Fy6gD4Ww+T7IVNTy+9uiKfwl9bw9+Ie3saiCuYJSsI+W//LBbl1U4U9o+0MyqTusGI62zeRBaCe sAGJMylp/ZwrTaXz1ygWi77JLYrKiU3A1rF9dV6x19gN9MMMDWs8rVF6qFAXnGsUza3T3lvP2KglO Sl13Etjw==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lhBU3-009Sko-72; Thu, 13 May 2021 13:35:00 +0000 Date: Thu, 13 May 2021 14:34:35 +0100 From: Matthew Wilcox To: Steve French Cc: linux-nfs , CIFS , v9fs-developer@lists.sourceforge.net, linux-fsdevel Subject: Re: Removing readpages aop Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, May 12, 2021 at 02:28:41PM -0500, Steve French wrote: > 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) Nobody's complained of a performance loss in the other ~30 filesystems which have already been converted (some almost a year ago). And CIFS has one of the more convoluted readpages implementation, so I'd expect a higher likelihood of a performance gain from CIFS. > - 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 One of the enhancements added as part of the recent netfs merge was readahead_expand(). Take a look at it and see if it works for you. > 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 Understood. Only so many hours in the day. I think https://lore.kernel.org/linux-fsdevel/1794123.1605713481@warthog.procyon.org.uk/ is the most recent version, but as Dave notes, it needs attention from somebody who knows the CIFS code better.