Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1314268pxb; Fri, 26 Feb 2021 07:49:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmUzJhM2n/IF2XJNMA/wcKPe+ju/janzp3j8xS/LTFCelWWheVeDuJ6c67HiJsVl2Va4Cs X-Received: by 2002:a17:906:6095:: with SMTP id t21mr4072882ejj.384.1614354560034; Fri, 26 Feb 2021 07:49:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614354560; cv=none; d=google.com; s=arc-20160816; b=ne/6WWav2JMktCIzQAUzJGq4TC254rYM6t51Hh7+J3luikgt+U7iO77bgpyG3M+DZg 1XzER3k37zAbZWQvutq1p1JntBgQiKsYX46vgMIzSxZWLNQP5OnjjwcY2fKhA2dUrFUb TSTeYifmGKIh8WY9Nmchob3SRwJU9yIrgg00HFLyBAp2k5h1OIG3cTtX0IMknHPPMc2b 6+2GzXz1zO5HOeCKUZh5uH7EcryP8z0GYDnmTwEqEM3bpnXFH/7BtPyDTwUJPjWwUiMj X3irK8LaHGT/r0e0onlSjoHolFiC2M8Ko3aFb/wu9+Zyi4RHc2RIy/ktKis+cX28Ak8A ITAw== 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=RptMSF60N4U9caiXjTphxc/F5vhxTGqbJlp3HE+jFws=; b=j3VeQXfZBDKzI9xOuG8LO4NZrbayQdjN7+Z8dMU2mfSyntxOxH2t5udDeqjvgv4K4E UzlTBOlZeI8APwBf8ScSTaeyEEhHEcHedjcoH4If2ST9f8i8AGc3kZ6b8nauEorVSoyD FiTpsHbzlwOLmLf6oX43IKaahO98wO50OnnjZFJpNnSx5LHVftn1HnPMztRzOsemBHNq y2AWwrpeePEp6yCIkP03m16BzcTtWxyi4fwkbbawqcHhRhrHkFtlNti34yoebIG3ZRjy 2mFiL5p5YtoJeK+SjqL8yjreBEWGtJBR+SHqUKYSStuYnOtbZIXPYSgvW/S9eecer2Xe SM2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rothenpieler.org header.s=mail header.b=CU8TX+nF; 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 j22si2908034ejb.269.2021.02.26.07.48.54; Fri, 26 Feb 2021 07:49:19 -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=CU8TX+nF; 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 S229550AbhBZPsy (ORCPT + 99 others); Fri, 26 Feb 2021 10:48:54 -0500 Received: from btbn.de ([5.9.118.179]:48432 "EHLO btbn.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbhBZPsv (ORCPT ); Fri, 26 Feb 2021 10:48:51 -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 509F325E233; Fri, 26 Feb 2021 16:48:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1614354486; bh=RptMSF60N4U9caiXjTphxc/F5vhxTGqbJlp3HE+jFws=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=CU8TX+nFe0KghLhUzBNQvhvgLLf0zJNk6lHSjVvB5GY6oIhGTjw9fvAaNtWlY/W50 Z8gWB2XzVXXkSDjD5m04RJAEqQ5k6ZQQSvLRqiPs3Bdhk3Mk388BGpcBJbkou1Pgse VvHlAPSbL3SYHcqjfCwNovsDzqJEofGK+sDDjtl5ZQ0qaLjn/7MKrFEVurg5m092Qp LhA5cA4y24EyYXbw19dv0M6WQov4vVO5E2WvK5goTME3jRRWXoeM+2pXVNPj+3VWNk g02TSQGKsE88VShQX5XFBuLGNv5fGGqvKIRctj+0sxw8Hrb3br5GkYZO52tXneK8By 3fj3mBzbXT0LQ== Subject: Re: NFS Caching broken in 4.19.37 To: Anton Ivanov , Bruce Fields Cc: Salvatore Bonaccorso , Chuck Lever , Linux Kernel Mailing List , 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> <1b701f2b-d185-dd30-0aca-ba6d280221d5@rothenpieler.org> <72e16f18-d4ae-f963-fd09-5f1fa6885a1d@cambridgegreys.com> From: Timo Rothenpieler Message-ID: <946354d2-7a4d-348e-2c6d-285122503d4a@rothenpieler.org> Date: Fri, 26 Feb 2021 16:48:06 +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: <72e16f18-d4ae-f963-fd09-5f1fa6885a1d@cambridgegreys.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms060808050107010206030806" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org This is a cryptographically signed message in MIME format. --------------ms060808050107010206030806 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 26.02.2021 16:40, Anton Ivanov wrote: > These are two different clients, then what you see is possible on NFS=20 > with client side caching. If you have multiple clients reading/writing = > to the same files you usually need to tune the caching options and/or=20 > use locking. I suspect that if you leave it for a while (until the cach= e=20 > expires) it will sort itself out. Yes, letting the client sit for just a few minutes (without interacting=20 with file or directory in question) gets it back in sync with the server.= > In my test-case it is just one client, it missed a file deletion and=20 > nothing short of an unmount and remount fixes that. I have waited for 3= 0=20 > mins+. It does not seem to refresh or expire. I also see the opposite=20 > behavior - the bug shows up on 4.x up to at least 5.4. I do not see it = > on 5.10. Yeah, that's indeed different, though still looks somewhat similar. Makes me wonder if what fixed that issue is what's causing mine. The primarily broken use case here is users starting their SLURM jobs,=20 and then observing them via "tail -f slurm.out", which has worked=20 perfectly fine in the past, prior to the update from 5.4 to 5.10. --------------ms060808050107010206030806 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC DVkwggXkMIIDzKADAgECAhAI/yx7V5dPIG8WuMetnzcsMA0GCSqGSIb3DQEBCwUAMIGBMQsw CQYDVQQGEwJJVDEQMA4GA1UECAwHQmVyZ2FtbzEZMBcGA1UEBwwQUG9udGUgU2FuIFBpZXRy bzEXMBUGA1UECgwOQWN0YWxpcyBTLnAuQS4xLDAqBgNVBAMMI0FjdGFsaXMgQ2xpZW50IEF1 dGhlbnRpY2F0aW9uIENBIEczMB4XDTIxMDIxNDE5MTM0N1oXDTIyMDIxNDE5MTM0N1owIDEe MBwGA1UEAwwVdGltb0Byb3RoZW5waWVsZXIub3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A MIIBCgKCAQEA0WP2SBuRIpVw5O7QPakKoJjg7B4UNAKTyky1XMsievLNGnR4Nxe6kKU+1oW0 oF5FqMVH9NkT9zhW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