Hi Luis, > I've been seeing fscache complaining about duplicate cookies in 9p: > > FS-Cache: Duplicate cookie detected > FS-Cache: O-cookie c=00000000ba929e80 [p=000000002e706df1 fl=226 nc=0 na=1] This cookie is marked acquired (fl=2xx), but not relinquished (fl=4xx), so it would still seem to be active:-/. Pretty much one of the first things __fscache_relinquish_cookie() does is to set that bit (should be bit 10). One thing that might be useful is if you can turn on a couple of fscache tracepoints: echo 1 >/sys/kernel/debug/tracing/events/fscache/fscache_acquire/enable echo 1 >/sys/kernel/debug/tracing/events/fscache/fscache_relinquish/enable The cookie pointers in the duplicate cookie report should match the entries in the trace output. Note that my fscache-iter branch[1] improves the situation where the disk I/O required to effect the destruction of a cache object delays the completion of relinquishment by inserting waits, but that oughtn't to help here. David [1] https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=fscache-iter