Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp132784rdb; Mon, 22 Jan 2024 14:41:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnu2KoGAYtqLKWE5DjyI6FHNVYWtGn9hE8JsTGkyqHW1F+Ur6PDveMOkOTTNUhwcWghPad X-Received: by 2002:a05:6358:7297:b0:176:2fed:3150 with SMTP id w23-20020a056358729700b001762fed3150mr4882456rwf.19.1705963301356; Mon, 22 Jan 2024 14:41:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705963301; cv=pass; d=google.com; s=arc-20160816; b=AsfWIWPAJXxnmmZSbuwjY2CTkxoNIaLt81rnEp/baW7tfukPMJTDbaIMYNS+KDiEus tSD02GxFbHKq5IsCNbRzDikSfZwpu61zdysKaZDM9R/UGjfJKnLzXvbG+N0vxoQYb7P4 bgYexLG6rfEHAcjJbmRmUAwcLo+akXMKznNFiTiPwXEbhoW6cVim+KOE3G+NB9P6KfIa 5vgNljnixS5J1C9JUa/z9btuAxnCFXhRFVdLWZCARf01qY4Drnf7aUjXKFpqE2Hv0jhv 3ii6Y4/nAWdMRD5FZnNUx3RBwyoqGFfAtbABRux04wLjJ9mJi6euH+ks6buxUvgd0wlw pOrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=K/2PdJgSTx2uUSt20DAeZ0+0dOQapF/NLseso94+mY0=; fh=wjViwjjRlY0i5gT8EcgFaXBdDuSOob3XTM55NjgGr5A=; b=GNI4SStbuHe9vyPFXW7G4JXPHjZbLDeq7lgOwgGljHTt77Ez24AX9j20SJ+kyelRhT B0CyIdp0hAQdSmn/hv94vdf4ifasAwGocoti3S44HJltIYkvSWFwklYpOjsTFwT+NQiD HQdbii5Ij4iM6qwom/7hD+Cpt9HPd3vJOsPxtcIrlySHDQmD3FV7OU8nkOpFs1ywmxUF INxk0TetG6rTUkaCiTo+cuLGUUDMSgxKru+qElOgdMzaUsWrSbBYqzFxdlzYop/uUCQq DZFRoRbrh+ofhT8SXaHy0RefgmByWH0YiXxWY4Zvvxa5VJZzuLjCXzO1V95cTkDYxJ3W 4/9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ju6fNpgd; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-nfs+bounces-1271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1271-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id cw8-20020a056a00450800b006d9a42d1cdcsi11200794pfb.11.2024.01.22.14.41.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 14:41:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ju6fNpgd; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-nfs+bounces-1271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1271-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 90CDBB211BD for ; Mon, 22 Jan 2024 22:41:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E6C4FC14; Mon, 22 Jan 2024 22:41:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ju6fNpgd" 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 069CAFC10 for ; Mon, 22 Jan 2024 22:41:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705963285; cv=none; b=PuFBt+XdqdurPvlsmPMkl6QlpzEwXNZUBXDO+eMm+lYVNepayVPcGrkCj8vtrLExZudzXxWkHHqmBMzkFHsodUlAdbQjWizh2hVOIIlMHjZ0oCnSoHMhN9vmSZvVvqz93WaBu1esIF9VzhG5nRoycgzPDAQGyZ0367fNk9iQ2ys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705963285; c=relaxed/simple; bh=3j6GqGjdcVOdaKJA0dBzQfKAJjOTVWmREQGj6P72nBg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=swLhQnkKyhRXKzhah4R4imFRJgapqsbpC+LdnbpdqdqxcsagjY8CRa9+ZJkaGxBkNqvIMTzPUOd58QwZGcYSZKMsQmazuRRqWk5D4KGp7EIrrSlFbFbJdS3sTqCQ9VK279nLr7oVsAdP6Gva4vGXCbEC6eu9Gvp1ZvXv39Izj6Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Ju6fNpgd; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705963282; 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=K/2PdJgSTx2uUSt20DAeZ0+0dOQapF/NLseso94+mY0=; b=Ju6fNpgdLw4IXb9TguaHlWdp4pLTVoJLzSy2eqlEcxOaUMKl+uQpmAIFW3JbMUV70I5ix+ qN59E+oHT/Hy0KvVxJltNilXw2kZCu9xjP4qvu50bfL6EAo/YDXmioXNaMPzrcrIfXDUkb +9XIqelNZBNiA7SC9Jhr+/jt+VErKxk= 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-580-KHOIm_EWOXKHLv-7Jky7pA-1; Mon, 22 Jan 2024 17:41:21 -0500 X-MC-Unique: KHOIm_EWOXKHLv-7Jky7pA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (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 D75201C03D83; Mon, 22 Jan 2024 22:41:20 +0000 (UTC) Received: from [192.168.37.1] (ovpn-0-9.rdu2.redhat.com [10.22.0.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 455B11C060AF; Mon, 22 Jan 2024 22:41:20 +0000 (UTC) From: Benjamin Coddington To: Samasth Norway Ananda Cc: chuck.lever@oracle.com, linux-nfs@vger.kernel.org Subject: Re: [PATCH 1/1] NFSv4.1: Assign retries to timeout.to_retries instead of timeout.to_initval Date: Mon, 22 Jan 2024 17:41:18 -0500 Message-ID: <995F0BB9-C709-4C3A-92F3-5EB9710A47F5@redhat.com> In-Reply-To: <20240122172353.2859254-1-samasth.norway.ananda@oracle.com> References: <20240122172353.2859254-1-samasth.norway.ananda@oracle.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; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 On 22 Jan 2024, at 12:23, Samasth Norway Ananda wrote: > In the else block we are assigning the req->rq_xprt->timeout->to_retries > value to timeout.to_initval, whereas it should have been assigned to > timeout.to_retries instead. > > Fixes: 57331a59ac0d (“NFSv4.1: Use the nfs_client's rpc timeouts for backchannel") > Signed-off-by: Samasth Norway Ananda > --- > Hi, > > I came across the patch 57331a59ac0d (“NFSv4.1: Use the nfs_client's rpc > timeouts for backchannel") which assigns value to same variable in the > else block. Can I please get your input on the patch? Oh yes, this a good fix. Usually the maintainers won't pick up a patch that's only sent to the list, rather the patch should be addressed to them directly and copied to the list. Can you re-send this patch to: Trond Myklebust ,Anna Schumaker and copy linux-nfs@vger.kernel.org? You can also add my: Reviewed-by: Benjamin Coddington Ben