From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EBD5C433EF for ; Mon, 11 Apr 2022 08:10:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343576AbiDKIMx (ORCPT ); Mon, 11 Apr 2022 04:12:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243780AbiDKIMu (ORCPT ); Mon, 11 Apr 2022 04:12:50 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 15567338A9 for ; Mon, 11 Apr 2022 01:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649664636; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WtRp4WO1lSj8PVjuXtMR8/dhv6hWnrFbyC+j6WCz6NI=; b=G7Etdj1WGs8dIcdO6AZcqEbLl82hTDbGEIKOlYMg4A12YRRgdnNCymkNW6EmXBNWpLtLH4 jv2cVaGbW6SG2JmsHI7iaeucXXraTTSRDcvhj7yUUT9BL5YhZ+fMLbWNfZR6476FLEcU4E OU3OwURS1MGYUWRH0xxoHGRyW+UvnJ0= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-274-U124vjKGPJ6MlhOv5jORIg-1; Mon, 11 Apr 2022 04:10:35 -0400 X-MC-Unique: U124vjKGPJ6MlhOv5jORIg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 600472A5954D; Mon, 11 Apr 2022 08:10:33 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.37.45]) by smtp.corp.redhat.com (Postfix) with ESMTP id B89F72166BDC; Mon, 11 Apr 2022 08:10:31 +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: <1866935.Y7JIjT2MHT@silver> References: <1866935.Y7JIjT2MHT@silver> <3791738.ukkqOL8KQD@silver> To: Christian Schoenebeck Cc: dhowells@redhat.com, asmadeus@codewreck.org, David Kahurani , davem@davemloft.net, ericvh@gmail.com, kuba@kernel.org, linux-kernel@vger.kernel.org, lucho@ionkov.net, netdev@vger.kernel.org, v9fs-developer@lists.sourceforge.net, Greg Kurz Subject: Re: 9p fs-cache tests/benchmark (was: 9p fscache Duplicate cookie detected) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1077759.1649664631.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Mon, 11 Apr 2022 09:10:31 +0100 Message-ID: <1077760.1649664631@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christian Schoenebeck wrote: > From looking at the sources, the call stack for emitting "FS-Cache: Dupl= icate > cookie detected" error messages with 9p "cache=3Dmmap" option seems to b= e: 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