Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1747115rdb; Thu, 7 Dec 2023 07:48:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQRyg0A4jinZlKWIy1Zjk10UbMEIUEd3Un7cNeYOLbvDLzgP9wxa9/hqmNzrDLCT6xr19u X-Received: by 2002:a17:906:e213:b0:a19:a19b:55e4 with SMTP id gf19-20020a170906e21300b00a19a19b55e4mr1584275ejb.116.1701964114611; Thu, 07 Dec 2023 07:48:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701964114; cv=none; d=google.com; s=arc-20160816; b=ld6hAo7ZJmyMJS++bmmFFvCf3tlHj947R5seX4fG62P1FxHA2NpQV7pF5VZiFJefDi c32I94rPLJisuw6DVmc4NJFN+7RjHE5HQI+mNQvsZaa0mq2PJPCX8xt0HefivHnjwBs2 mR7glSDAiQ3bM5ikVTDb1cUixp1GVPjQgAx/BF4uNfkKnDJXpOnAZFdvEIRcCg+ytSHm EoY0r4fdhIhKD6050f7l5BYNZ8o8It1DE17PcYWVuIdbaMpyfxJEX3sJWPEhblFHPl/b dHMbEdTi3XAZ79QuvZU4fcce7sJLPePoV4DwxihQPeRh7wPVkxBBFyhpVXG8MryTwYfg hiIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dirxUUjQYZtSpNeI1RF/bfETlI5tLKa7Fg66TYNIoXw=; fh=cS/LuRDrOvxNKbFKDps1sKLpVqGa4djXYiVMiNhILxo=; b=Sp45kY/3VeMdPKbaypa9URGQ/Ttvf2fcORYfF1DMTBT2bnH6gMRftNNMjZyGimAZM/ MAQM3kza5zU8xL8/EihhcGDFj9RRW/1moH5KGdboSCzqNvPFSlidnPo/ldVOPaCHMYN2 5GsAxIHgS3KNQ8wJUPWL6fYmHy4VSiz6oY4q4IP+JOCSf8HRlLBd/UHhp4CJgqfI4/EY M0JnT3fOiUaIW8uxPcevCYJ3Lg6Q1stt2GPJYPkInDPl0haWMb2z7oP+C53B69yoqZEt VOy9Fd7D77eBlb477RGEpNAlJe4rd7RVqh4Aa+OTI4Fj9aLhWGaM/xx2xUoKGWbnO9L0 m2IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=P3d+K9dZ; spf=pass (google.com: domain of linux-nfs+bounces-386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-nfs+bounces-386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f25-20020a170906561900b00a1da6479077si767070ejq.649.2023.12.07.07.48.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 07:48:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=P3d+K9dZ; spf=pass (google.com: domain of linux-nfs+bounces-386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-nfs+bounces-386-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4F1FF1F211EA for ; Thu, 7 Dec 2023 15:48:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE6AF4596C; Thu, 7 Dec 2023 15:48:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="P3d+K9dZ" X-Original-To: linux-nfs@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59B1C10F1 for ; Thu, 7 Dec 2023 07:48:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701964107; 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: in-reply-to:in-reply-to:references:references; bh=dirxUUjQYZtSpNeI1RF/bfETlI5tLKa7Fg66TYNIoXw=; b=P3d+K9dZVFrg0/KbL9SgKXE2UgCX2cr7diG/NKuHNKuLUrhR96fmCWFC8AUd271oZdQxQT 9hKYNc5HuQX6HfbZbJLOLsSS/LTXxLEpfadrNeEO+/CII699RSJS6QF1ZyMziqEsAvnuAL 83MN/JNiMjGBpLZyZM6jsvMmLXIb46A= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-32-n1sQ4MzfOQaUwUMkdFQTXw-1; Thu, 07 Dec 2023 10:48:24 -0500 X-MC-Unique: n1sQ4MzfOQaUwUMkdFQTXw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (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 99EEA85A59C; Thu, 7 Dec 2023 15:48:24 +0000 (UTC) Received: from [100.85.132.103] (unknown [10.22.48.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3002E3C2E; Thu, 7 Dec 2023 15:48:24 +0000 (UTC) From: Benjamin Coddington To: Trond Myklebust Cc: Linux NFS Mailing List Subject: Re: spurious backchannel -ETIMEDOUT and reset on v6.7-rc1 Date: Thu, 07 Dec 2023 10:48:22 -0500 Message-ID: In-Reply-To: <3B324BE9-874E-487E-B6E4-E83889B30803@redhat.com> References: <3B324BE9-874E-487E-B6E4-E83889B30803@redhat.com> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 On 7 Dec 2023, at 10:25, Benjamin Coddington wrote: > Hey Trond, > > I've been noticing slower than usual xfstests, and in the logs: > > "RPC: Could not send backchannel reply error: -110" > > Since "59464b262ff5 SUNRPC: SOFTCONN tasks should time out when on the > sending list", some backchannel reqs will immediately reset the connection > if they need to sleep on ->sending in xprt_reserve_xprt. > > I don't think we set up rq_timeout and rq_majortimeout for backchannel reqs, > so they immediately fail with -ETIMEDOUT. > > I'm hunting around for the best fix, but maybe you've got one I can test. Assuming we want backchannel reqs to actually check/timeout/reset, I think its looking like we need to do a version of xprt_init_majortimeo() for every xprt_get_bc_request().. Ben