Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp636682pxr; Mon, 11 Apr 2022 03:21:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzV/0AnaIrLjzpf3n0EOa0yfiOm95hw7LYcoTiv2QPDKicY1tJMoKZfMJ5XJG4avM97RHfB X-Received: by 2002:a63:2f01:0:b0:39d:6503:af60 with SMTP id v1-20020a632f01000000b0039d6503af60mr2724148pgv.444.1649672468189; Mon, 11 Apr 2022 03:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649672468; cv=none; d=google.com; s=arc-20160816; b=pI3Fgj18e7NgUo9ftOuiSZULCh3PV6v0ZCZ7kYcFeAdWbRzgM/P/xtPHrFKVuhhU4u Vn/7THiPyfgHqID/hd8Hd2MaDKHX7tGyJe6h6AJXMCeGcpMjS3OgqN+0Jd2XA21PBfxN hpltXkGellhVWSCV0OZFbsI8x+IRE1bIyDoxiV+INu7iKYBD4Q9/4U41jH9N2YsM55+T Vxl8B2eGtv9ocZNlu5CGpziWFiOJfWWpucnwi4rsI9bVakkpxvQDtbgdSK3pD37xAPp+ qDKJRIeJFEbKq++UJh/VwaUUuoWhWBUSkoc03ClPKoF1bzdAcWcQhZKD+CGJe+zij2uX 3ZEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization:dkim-signature; bh=WtRp4WO1lSj8PVjuXtMR8/dhv6hWnrFbyC+j6WCz6NI=; b=PbZD+T9g0bttSGZwVq+j+BBh0EWVXbndoOsKhZW+dUSQEvW9MgDfC2TCOEyVZZdAyi I44rkHZ0ECYcHb5x66l59cjiEVx+EP/OjuPym0CKShs0X0TnA7z8clcF4HuCDgWvs5aK hWVMKF8apAj5pOVplhCYRQ9SZ7ioAYOwSgVuTGrNXwUBH2p9oj2J/jheWIovYFr9Z3VY gPTJbWQcSOC89bWs0Pev+SAwg2vV1LyVAalmrbK+sUmq0HdqwQCsyyRpVFr+tIHIjg2r jV5Vl/u6YFsU6F4nhI4K++tsfJIE4OhMWLL+zM1XnVCQZspl1HqtvdlWXpny0Qc2+3Yh 7u+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=G7Etdj1W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s21-20020a63d055000000b003986e01e40dsi8092032pgi.95.2022.04.11.03.20.54; Mon, 11 Apr 2022 03:21:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=G7Etdj1W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235172AbiDKIMw (ORCPT + 99 others); Mon, 11 Apr 2022 04:12:52 -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 X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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