Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp130154rdb; Thu, 16 Nov 2023 14:03:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5rB7jvB1l30+Cmcyrzw9oAK6bo2TQ5xbvzDP3hZ41teZuRmaEKPy3uNECPTYFVyHKeqCU X-Received: by 2002:a17:903:1207:b0:1cc:1dde:8680 with SMTP id l7-20020a170903120700b001cc1dde8680mr12371539plh.45.1700172217959; Thu, 16 Nov 2023 14:03:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700172217; cv=none; d=google.com; s=arc-20160816; b=ZLdxNSId4wysCO86RN2R8xR9EGAcQ0rrLBYrUXzUUNTrAQ/BqXQuIl7dWYO0QjGDbk egXSx/gINzuRyP9G32ZyFfYUSqB7OVxrlEgMCb6+j51YVm1npQrNlpS4ZRrWC1blRWoP a4o0Vo09Q4YhxWrYjGscrI3RezyFYDGZA+DXyDPkaytp4peiB8LGj/TZhAwD4JB259Xg 0vIyJytFXFYQxc/02aZhuiQAyKFikXjP/nv7tBkdgSw6DFb7xtyxK+GlGK1g1f8RZ9hL g6nbjHG5bRMF2StZFaYLMn7ucHrPyZTkGWYkbq4PqgStcR+wo7LmhRNed/aqBdGUZnTs 6oPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=g7UfAnV3IuDndYV+jqUQE0EGqKybl/FrxVESHQ0cDEo=; fh=5Y/VEGQG9Y1SAR8lTaXGVm/Fbmx450lHl0GjQYD7rYI=; b=QiBTitlHRFUq5Rbw+nrDiAj27CRz8DXo/qVin4w5qgvqW/ZwE02oyRdmQhCEyzadFc 9HZq8Sm9ZyTRqPNjAH3f582aV4rWNZ+zaBa5qzlvwuDsghsiMp8NLQgPXXpg2tah+1Eq 9tWmZ/+c6mm2QsDD9djeknVbGUO8OTvH4gcvj4nlFKA755mkiqsVCdU9DKTRPT5maSGx bw7rHypaLvqXWojcBwhrNW1re05B7upINNJum4Mky8BPbLhMPqHLRAtYC/fJ1JvHmkIJ 9hhlyT3DdWxCphAeiXOZQaCU1CIHhOGoCrx/2sJt2xkQST4hiy7o6j6Q4Ah7FQ9Nx0hg ksdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NNWmCZmr; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id jj3-20020a170903048300b001ca152d038dsi299256plb.281.2023.11.16.14.03.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 14:03:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NNWmCZmr; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 720A48032239; Thu, 16 Nov 2023 14:03:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229729AbjKPWDZ (ORCPT + 99 others); Thu, 16 Nov 2023 17:03:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbjKPWDZ (ORCPT ); Thu, 16 Nov 2023 17:03:25 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5683211F for ; Thu, 16 Nov 2023 14:03:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700172201; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g7UfAnV3IuDndYV+jqUQE0EGqKybl/FrxVESHQ0cDEo=; b=NNWmCZmrtb0gSx6As6dkdVgeaHaXT1odYA6G3/Va8mCcBxN3i8aYpMYnzdk8J52BjUBoCr OgnK5hTShUL2vuA/IC7BpWXSNdDT76Fd3STvTPwgz6vWhiGNXiuGd8SJoHeg5IgDPYa2mw Ex11QZCGGiyKKOKsyR28vNuxSEke098= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-621-vtybo1P7NOmIv5dcNjbqIA-1; Thu, 16 Nov 2023 17:03:20 -0500 X-MC-Unique: vtybo1P7NOmIv5dcNjbqIA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C503F1C0519B; Thu, 16 Nov 2023 22:03:19 +0000 (UTC) Received: from [100.85.132.103] (unknown [10.22.48.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2F782C157E5; Thu, 16 Nov 2023 22:03:19 +0000 (UTC) From: Benjamin Coddington To: Anna Schumaker Cc: trond.myklebust@hammerspace.com, linux-nfs@vger.kernel.org Subject: Re: [PATCH 2/2] NFS: drop unused nfs_direct_req bytes_left Date: Thu, 16 Nov 2023 17:03:17 -0500 Message-ID: In-Reply-To: References: <21a1f2a6155398965f79ed64f0bd23bf38a50367.1700083991.git.bcodding@redhat.com> <952eea7e97246870f83e7a4592e9338007dfe625.1700083991.git.bcodding@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 16 Nov 2023 14:03:34 -0800 (PST) On 16 Nov 2023, at 16:44, Anna Schumaker wrote: > Hi Ben, > > On Wed, Nov 15, 2023 at 4:34 PM Benjamin Coddington wrote: >> >> Now that we're calculating how large a remaining IO should be based >> on the current request's offset, we no longer need to track bytes_left on >> each struct nfs_direct_req. Drop the field, and clean up the direct >> request tracepoints. > > I've been having problems with xfstests generic/465 on all NFS > versions after applying this patch. Looking at wireshark, the client > appears to be resending the same reads over and over again. Have you > seen anything like this in your testing? I have generic/465 failing before and after these two patches on pNFS SCSI.. but at least it completes. If I run it without pNFS I can see the same thing.. it just sends the same reads over and over. I'll figure out why. Ben