Re: 9p fs-cache tests/benchmark (was: 9p fscache Duplicate cookie detected)

From: David Howells
Date: Mon Apr 11 2022 - 04:10:42 EST


Christian Schoenebeck <linux_oss@xxxxxxxxxxxxx> wrote:

> From looking at the sources, the call stack for emitting "FS-Cache: Duplicate
> cookie detected" error messages with 9p "cache=mmap" option seems to be:

You might find these tracepoints useful:

echo 1 >/sys/kernel/debug/tracing/events/fscache/fscache_cookie/enable
echo 1 >/sys/kernel/debug/tracing/events/fscache/fscache_acquire/enable
echo 1 >/sys/kernel/debug/tracing/events/fscache/fscache_relinquish/enable

David