Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1281161pxb; Fri, 26 Feb 2021 07:06:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwyDTwU5UkquhEiWkZIZHkOMHLL48OppgRZlbXLr8FBqxw0ld8jd5Qkd39JsEN6rhIm0m3u X-Received: by 2002:a17:907:98f5:: with SMTP id ke21mr3837493ejc.552.1614352013457; Fri, 26 Feb 2021 07:06:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614352013; cv=none; d=google.com; s=arc-20160816; b=hg1fb3zfgJ8dtumUTSY7/axe1xKPqBatdHXmR65IvXx0TY9IJBImUXz12C0EwztFQ7 RZBAvDfBoSD09zcpKi9QcCkf54XGMaGvmI/NEYEe0FwaGmP5mLaFPy1zlXWAcsrTnSKQ f6t9wGYSq6f+TIOKNWnyOG4K/iPrBqk9I/JNE3W+ZQUaZh30PRvqVBsC1wa+YE5W3QPO MxP2+9xlFL2GtoidUO4k6bvczcXatSZYzhXELMQJh1IK4wdTYin5CGJPWYo8UxOrEgNw phYVO56VO9OBFiw4kQT40E6OpaYwU6JqVQqJj88U39RHcdQFhFZXCWK60BB6VK3o0AHv ftpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=c30HSZJschWPSlpWwlIXJRzxEJlkwoEp2JzTZidoWRk=; b=onzPpMk7mE7lrFuN6V0vjJkDig3Vt/9UUvnMx1laHqqq7anOSbjIyr0EdYXHh/TULc i56XPvB6uBa5+76LlZw8+8hnHaFclliF6b+rddkMuWG7bRbjJF6QKBKTmlmvyfk3m5Mg Y7Vpc4KGosgm+hFkBsjMydEC+9XH+AHjpdZbfHtbEQVGNlDwWSt3/EEp3ft4Eeut1GPA niRWN9DlJRuRlbRrmN40HzpHhoLk9/PgzGX2f//MsQXR4wxvF99ceMo0hlEqDLI7Z2Ac 5z+MHiXgQm910aG/L/iTZ2YdDgkZxWgX2XUYbQxCXxZeP56+qTKDvQ9LMzRGMfvRmBN4 geIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rothenpieler.org header.s=mail header.b="MlQh8/oc"; 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=rothenpieler.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a2si6978014eda.350.2021.02.26.07.06.27; Fri, 26 Feb 2021 07:06:53 -0800 (PST) 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=@rothenpieler.org header.s=mail header.b="MlQh8/oc"; 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=rothenpieler.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230081AbhBZPEe (ORCPT + 99 others); Fri, 26 Feb 2021 10:04:34 -0500 Received: from btbn.de ([5.9.118.179]:41120 "EHLO btbn.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230042AbhBZPEc (ORCPT ); Fri, 26 Feb 2021 10:04:32 -0500 Received: from [IPv6:2001:16b8:64c0:6700:50d3:5f50:f141:161] (200116b864c0670050d35f50f1410161.dip.versatel-1u1.de [IPv6:2001:16b8:64c0:6700:50d3:5f50:f141:161]) by btbn.de (Postfix) with ESMTPSA id B1B3625EA8D; Fri, 26 Feb 2021 16:03:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1614351828; bh=c30HSZJschWPSlpWwlIXJRzxEJlkwoEp2JzTZidoWRk=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=MlQh8/ocq183ogh1pxnesAlZL6A9mZxITtDfH5C06bOOPIbktITCOikozLVTAq+B4 er8yHRhhD1Cy5wl8RKSNxvsBevwnAuTgHnNincCg38+6mShRrnJTw8Hf6lTbtPgaAj yB0xbCDHbLIwjhPBINCWvrcxkHpBc679o0l90pSu48Qxo9DHLF3/hAH4WNA393Cx7+ iI/NRDaaaev/iPZpJbxr7lfXXmXUUTlQVbK3HpH+CkI9HcIIT0POFW3tDzIrBGkpIi z/cxwqsiKk2qhJvPLAihDxZIRYHlaoed0M7QVcoJv9WOz6Z9Wx7v/R74q35+x4qJYH 3TMc7B4OMVTcA== Subject: Re: NFS Caching broken in 4.19.37 To: Anton Ivanov , Bruce Fields Cc: Salvatore Bonaccorso , Chuck Lever , Linux Kernel Mailing List , "940821@bugs.debian.org" <940821@bugs.debian.org>, Linux NFS Mailing List , trond.myklebust@hammerspace.com, anna.schumaker@netapp.com References: <5022bdc4-9f3e-9756-cbca-ada37f88ecc7@cambridgegreys.com> <9305dc03-5557-5e18-e5c9-aaf886a03fff@cambridgegreys.com> <20210221143712.GA15975@fieldses.org> From: Timo Rothenpieler Message-ID: <1b701f2b-d185-dd30-0aca-ba6d280221d5@rothenpieler.org> Date: Fri, 26 Feb 2021 16:03:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms050206020807030402020003" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org This is a cryptographically signed message in MIME format. --------------ms050206020807030402020003 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable I think I can reproduce this, or something that at least looks very=20 similar to this, on 5.10. Namely on 5.10.17 (On both Client and Server). We are running slurm, and since a while now (coincides with updating=20 from 5.4 to 5.10, but a whole bunch of other stuff was updated at the=20 same time, so it took me a while to correlate this) the logs it writes=20 have been truncated, but only while they're being observed on the=20 client, using tail -f or something like that. Looks like this then: On Server: > store01 /srv/export/home/users/timo/TestRun # ls -l slurm-41101.out > -rw-r--r-- 1 timo timo 1931 Feb 26 15:46 slurm-41101.out > store01 /srv/export/home/users/timo/TestRun # wc -l slurm-41101.out > 61 slurm-41101.out On Client: > timo@login01 ~/TestRun $ ls -l slurm-41101.out > -rw-r--r-- 1 timo timo 1931 Feb 26 15:46 slurm-41101.out > timo@login01 ~/TestRun $ wc -l slurm-41101.out > 24 slurm-41101.out See https://gist.github.com/BtbN/b9eb4fc08ccc53bb20087bce0bf9f826 for=20 the respective file-contents. If I run the same test job, wait until its done, and then look at its=20 slurm.out file, it matches between NFS Client and Server. If I tail -f the slurm.out on an NFS client, the file stops getting=20 updated on the client, but keeps getting more logs written to it on the=20 NFS server. The slurm.out file is being written to by another NFS client, which is=20 running on one of the compute nodes of the system. It's being reads from = a login node. Timo On 21.02.2021 16:53, Anton Ivanov wrote: > Client side. This seems to be an entirely client side issue. >=20 > A variety of kernels on the clients starting from 4.9 and up to 5.10=20 > using 4.19 servers. I have observed it on a 4.9 client versus 4.9 serve= r=20 > earlier. >=20 > 4.9 fails, 4.19 fails, 5.2 fails, 5.4 fails, 5.10 works. >=20 > At present the server is at 4.19.67 in all tests. >=20 > Linux jain 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) = > x86_64 GNU/Linux >=20 > I can set-up a couple of alternative servers during the week, but so fa= r=20 > everything is pointing towards a client fs cache issue, not a server on= e. >=20 > Brgds, >=20 --------------ms050206020807030402020003 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAA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