Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4259416imb; Wed, 6 Mar 2019 09:02:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzzan5+RTBybHtKCxbwpUxUJF7jGS518gmkCN6tS+vFQTSo7yWzYooK4HhLJFhbuetxvjL8 X-Received: by 2002:a17:902:6b81:: with SMTP id p1mr8121493plk.106.1551891765140; Wed, 06 Mar 2019 09:02:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551891765; cv=none; d=google.com; s=arc-20160816; b=R7ei69CDxRvCJMKkcP4pbaWczfxCIDcH9ivEY9StyWHV25W0RWv/2GG7Lpfa2FjObn VgM4GBTFzugLPRNFIBVaYflik3yuKqWpvIdUdP2J0QwOaqV+dZzxmdsMQ7L/2FY16dGW TMvQG6f/6l3AXRAMqVe+wPhfM1hTwZ9SfiAQ/+nHFyRefH8qT0iQVy2AknNWuQKX8W6U efGhUVKOx/QiQGC3bepqcwwSOU7Boe1yZfx4MegzWkWFNlwj3BpHcrw2fx+3nLjpeqDG RRwlcRLiywTWzeR2hlQ6S78XbQdP1aZHwIatsJ27VUb5nWKz0d/z1yLvkOO8x/zDbSgp TzWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization; bh=orjDX3TxzJu3EOEckiH4UjecGJfvRIKJ2Y1/sFtEF1U=; b=HG3x+LLSK/fJRe6Noge/G522bm/CcozJV0dC/BVGkTCaUpFOFU1V9cGsOo9r1A0foL m9Kxs/49vgk6+W8Ow6Kp55SQU9NF44SE6C+58t+iZ8cmoIvnlb9+5DM4r63lxxAwEf4Q LIL5VbWegHyGB41rPEqYpljsSERcQ6agPDM95RLHZaIev1BFqiVUzzfLd3LYCC1B70/L WE8MDGQNN8cKTQ7yTSpIlIKRsoWnIfo52OTpaf1bzzhe0fxPwyf9snLrYt3QP2dE53cQ cLdg2feXHtASiZT7HT0Wz+e8bXdKQgv8DgD3Zuur1IO5Q7zt3WxtcWBHrG9zaj236A1q E4Vw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si1745673pgg.199.2019.03.06.09.02.28; Wed, 06 Mar 2019 09:02:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728569AbfCFNQh (ORCPT + 99 others); Wed, 6 Mar 2019 08:16:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57020 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728425AbfCFNQh (ORCPT ); Wed, 6 Mar 2019 08:16:37 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E9A69356E4; Wed, 6 Mar 2019 13:16:36 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-121-148.rdu2.redhat.com [10.10.121.148]) by smtp.corp.redhat.com (Postfix) with ESMTP id DD5B36090C; Wed, 6 Mar 2019 13:16:35 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: To: Christian Kujau Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org, Anna Schumaker , Steve Dickson Subject: Re: FS-Cache: Duplicate cookie detected MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22095.1551878195.1@warthog.procyon.org.uk> Date: Wed, 06 Mar 2019 13:16:35 +0000 Message-ID: <22096.1551878195@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 06 Mar 2019 13:16:37 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christian Kujau wrote: > FS-Cache: Duplicate cookie detected > FS-Cache: O-cookie c=000000009da9dbf0 [p=000000001593f904 fl=222 nc=0 na=1] > FS-Cache: O-cookie d=00000000287febd9 n=00000000980c9e8a > FS-Cache: O-key=[8] '020001bdc0a80064' > FS-Cache: N-cookie c=00000000bfe3f869 [p=000000001593f904 fl=2 nc=0 na=1] > FS-Cache: N-cookie d=00000000287febd9 n=00000000e153f178 > FS-Cache: N-key=[8] '020001bdc0a80064' I've just spotted something that all these things have in common. The old cookie has FSCACHE_COOKIE_RELINQUISHING set in the flags (fl=222). I don't have a wait for this situation in fscache - which I should. Interestingly, '020001bdc0a80064' looks like is could be the key from the server level, assuming this is from NFS: 0200 01bdc0a8 0064 could be: AF_INET (LE), 1.189.192.168, 100 (BE) David