Re: FS-Cache: Duplicate cookie detected

From: David Howells
Date: Wed Mar 06 2019 - 08:16:39 EST


Christian Kujau <lists@xxxxxxxxxxxxxxx> 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