Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp416661pxa; Tue, 4 Aug 2020 08:34:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvIY97MW+AwFTXrJAuQQCt8igBoOUywKkHb80rl70YGn2GWq36a1HbmM9MNlYQjGPqRS9+ X-Received: by 2002:a17:906:5812:: with SMTP id m18mr22310170ejq.66.1596555293898; Tue, 04 Aug 2020 08:34:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596555293; cv=none; d=google.com; s=arc-20160816; b=VFFDc/uJJRQqdqd8Hv+7C3v8JzGrVrSGoN+87/B1rNW2w08i+Mfywu/cEv4qBxnOmt BR7vNrGqZ3cJo00bs/Ca5V5MYMYvDScG/GPcJjkCiP1nHkQi9inPulM31gp6pjEb48t4 P+ym2vCy9pk7si2kfrXxzWdfKp5GMkfXjzy+S8n+t537GLo7lTKwGx4JNAJWgECcDteY LoRy6QVmpINJkN2Xswi5/HBoU5xmW5CsNo62jyvE5LElijtfyTgmpj9Vcz/gotrRENOj g/OSaRoHl5HEyRBQPYDkmkRcvmheq6dyED6x8mgbpTosFZpo1Nwlxx2KW+hpfmOubG1c HcFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=KEcrzzoeazAceP5rgPZvi6/He29/hYxiBUnV8LKxQm4=; b=kM9UYKTTLUydmHjPJ4ltHMn6cgmjEqaFENdJ2YS6iPycyNmaKp/98E7lmusMQycFaV JREn8GmST6P8tPafyUM0KYMkgQTv8ilPed59+kBjWYh4QsWsfKYFN0z/JswpIS0B3Is2 lXupBwlbuQ0UqE8GhUOFRJN9dfk5QiifVj2hmpbnrCbBVioYI6rpr93OW8shwMkiBVoO SYaUnzEprRrox7bc6uXJ93y6Bq7ijuo12cPyB4hqoW7l0TJA5xWEx8ext6jbKaNq471o 44Fz3vTDcIL4okUpK1P+5eQ3c1u3NE9wEtW7SOuFWjQciyGT9JWDKnM2CVjEnssteNT1 dPhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=GTuWppar; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d21si12156926eje.437.2020.08.04.08.34.19; Tue, 04 Aug 2020 08:34:53 -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=@oracle.com header.s=corp-2020-01-29 header.b=GTuWppar; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729632AbgHDPeR (ORCPT + 99 others); Tue, 4 Aug 2020 11:34:17 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:55790 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729417AbgHDPeQ (ORCPT ); Tue, 4 Aug 2020 11:34:16 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 074FI15j140945; Tue, 4 Aug 2020 15:34:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2020-01-29; bh=KEcrzzoeazAceP5rgPZvi6/He29/hYxiBUnV8LKxQm4=; b=GTuWpparEC4XKtl8amP5LF2V9adf4nV2t02KGdmNmFmQBOj6bZ8DV8Oqcj8GHZ4N3QId JsRniI21SPT06/gZwjwy69dhuV/o+DWSY0HpCgvVIJOaAT6z8lssLtNE4eVzecqqCPz2 tA3vDVArWBTWjBrqlG1rirRoSShmsGX+W9NBDDdBWMWRKXkGiHU0I6S1cj80VWqdJFa8 2ebG7JJ94R80eH3yNdVy5aw1/UsiHnkLGK6gI3mzrjzhJoy7xP7YhXNHBJnfok/2CxXA 83pw4kaQhK6HoKrOXznJ8gSsqjGRbanzyx463Jb4k8AGDEsDE+O9C2wvhA2RU1n5iOpu TQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 32n11n4yun-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 04 Aug 2020 15:34:12 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 074FJ9aK167890; Tue, 4 Aug 2020 15:34:11 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 32p5gscsmg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 04 Aug 2020 15:34:11 +0000 Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 074FYAum016764; Tue, 4 Aug 2020 15:34:10 GMT Received: from anon-dhcp-152.1015granger.net (/68.61.232.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Aug 2020 08:34:09 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: NFS over RDMA issues on Linux 5.4 From: Chuck Lever In-Reply-To: <45BA86D8-52A3-407E-83BE-27343C0182C5@oracle.com> Date: Tue, 4 Aug 2020 11:34:05 -0400 Cc: Linux NFS Mailing List , linux-rdma Content-Transfer-Encoding: quoted-printable Message-Id: References: <8a1087d3-9add-dfe1-da0c-edab74fcca51@rothenpieler.org> <20200804093635.GA4432@unreal> <92a5a932-b843-eed3-555e-7557ccc1f308@rothenpieler.org> <20200804122557.GB4432@unreal> <20200804134642.GC4432@unreal> <45BA86D8-52A3-407E-83BE-27343C0182C5@oracle.com> To: Leon Romanovsky , Timo Rothenpieler X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9703 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 bulkscore=0 phishscore=0 spamscore=0 adultscore=0 suspectscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008040116 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9703 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 priorityscore=1501 impostorscore=0 lowpriorityscore=0 malwarescore=0 spamscore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008040116 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > On Aug 4, 2020, at 9:53 AM, Chuck Lever = wrote: >=20 >=20 >=20 >> On Aug 4, 2020, at 9:46 AM, Leon Romanovsky wrote: >>=20 >> On Tue, Aug 04, 2020 at 09:12:55AM -0400, Chuck Lever wrote: >>>=20 >>>=20 >>>> On Aug 4, 2020, at 9:08 AM, Timo Rothenpieler = wrote: >>>>=20 >>>> On 04.08.2020 14:49, Chuck Lever wrote: >>>>> Timo, I tend to think this is not a configuration issue. >>>>> Do you know of a known working kernel? >>>>=20 >>>> This is a brand new system, it's never been running with any kernel = older than 5.4, and downgrading it to 4.19 or something else while in = operation is unfortunately not easily possible. For a client it would = definitely not be out of the question, but the main nfs server I cannot = easily downgrade. >>>>=20 >>>> Also keep in mind that the dmesg spam happens on both server and = client simultaneously. >>>=20 >>> Let's start with the client only, since restarting it seems to clear = the problem. >>=20 >> It is client because according to the server CQE errors, it is = Remote_Invalid_Request_Error >> with "9.7.5.2.2 NAK CODES" from IBTA. >=20 > Thanks! OK, then let's use ftrace. >=20 > Timo, can you install trace-cmd on your client? Then: >=20 > 1. # trace-cmd record -e rpcrdma -e sunrpc >=20 > 2. Trigger the problem >=20 > 3. Control-C the trace-cmd, and copy the trace.dat file to another = system >=20 > 4. reboot your client >=20 > Then send me your trace.dat. You don't have to cc the mailing lists. I see a LOC_LEN_ERR on a Receive. Leon, doesn't that mean the server's Send was too large? Timo, what filesystem are you sharing on your NFS server? The thing that comes to mind is https://bugzilla.kernel.org/show_bug.cgi?id=3D198053 -- Chuck Lever