FS-Cache: Duplicate cookie detected

From: Christian Kujau
Date: Tue Mar 05 2019 - 19:24:14 EST


Hi,

ever since ec0328e46d6e ("fscache: Maintain a catalogue of allocated
cookies") was commited, people are seeing[0] those "Duplicate cookie
detected" messages in syslog, see below. NFS and CIFS mounts appear to
continue to work, but these messsages are new and I too am wondering if
this is something to worry about.

They _are_ logged with pr_err in fs/fscache/cookie.c, but maybe this needs
to be changed to a different loglevel?

Thanks,
Christian.

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'


[0] https://bugzilla.kernel.org/show_bug.cgi?id=200145
--
BOFH excuse #318:

Your EMAIL is now being delivered by the USPS.