Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1816115pxp; Thu, 10 Mar 2022 12:45:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYd30x63KGgYMtpU3gXICHfkfas+ZJe5h77wC9S7soAQzhMzLJX1GoNLFQPtlhVuAfeq2J X-Received: by 2002:a17:90b:3e82:b0:1bf:39ee:6319 with SMTP id rj2-20020a17090b3e8200b001bf39ee6319mr17765891pjb.218.1646945124590; Thu, 10 Mar 2022 12:45:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646945124; cv=none; d=google.com; s=arc-20160816; b=x61rS2nyfoFZ9en41shB/CDZprmZyXkUYWLUabwQWUFNMCJ9NVChR3jqgG+Hggae/C 3FGr913Tgik3vKCBw6N/+q+rzI6mpDIHdPCoXhh6O2YM033Km/plfasw44Vwf/QN/fJM Euto7Xw7E8FrIOodcqAsNeIm+IC1/PcN8MYYhSd11A7bMCt6+9yFl/5Zf5zHAYkg/IYJ gQ6KccaNV0UnUD0N+YAVd0S6dgwegNzLemzczcuAsuAQr1ObRPTQ2UlYHzRQQUN+Af4z Gefiu4laiwitlPzKbFCwX0RJ8UJDzFOUbrCp4Qlhb3sRjhy/PFRcR0bUDxvjMuRU6zln 0EZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=rEnljbPTk/nfkLUHHb4Tp5TXwtw0JWNQDCJlSdbbFTs=; b=qUWXceSS+y6W38BpsQyzgcxd5N26s/wuCFFF9CPgoS7ryBkOZr/PxetLxEAPybXrsX VXXDEkObU4xnnntOUXce8LQYg9S7xl8Oyq5emcI0pJe7pOHOrK8qqAWBVucuSBiyM2s5 ZSE9kUaRwcDW94J05SDMdzVr7hnNbAafl6nem5QgwThGeXaxfCAhInIYZFpPuh9bUqNl hjcNxbZVJiF0ulB6Pz4BEgCCqfriLjFQrW8AGL7q2nqUSKKRbku+LGV+gLA9oqJBwCyJ ECq5O+cuzSMVYKxLGDlnQVulc+clUe2pF7meD6Wk58cL+vxIMRrv7fEz0DEKInMaFlou a6ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=coHjBFNy; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-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 d7-20020aa78e47000000b004f3d8bf00a8si5206436pfr.365.2022.03.10.12.44.48; Thu, 10 Mar 2022 12:45:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-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=coHjBFNy; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-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 S231923AbiCIVhA (ORCPT + 99 others); Wed, 9 Mar 2022 16:37:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229886AbiCIVhA (ORCPT ); Wed, 9 Mar 2022 16:37:00 -0500 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 9A3D0F9FB8 for ; Wed, 9 Mar 2022 13:36:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646861759; 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: in-reply-to:in-reply-to:references:references; bh=rEnljbPTk/nfkLUHHb4Tp5TXwtw0JWNQDCJlSdbbFTs=; b=coHjBFNyDX0JpsrXbgJ9zfpOpa9//7ZUIKvE8MU/wr7ZhWp2EgrUhRZMNThtWdrriKTc+a Wva2tfpgcgdCcediC1ogTZj40GKwMeCs9TmEWUD2JD7UEfmN87t2VW6IOT9qjmRFXP3pqX wbMGGhmwppdA+k4d3FcpQFYAPZLKiYM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-572-1tVeSyWcM_StZ0Q3DqNJxQ-1; Wed, 09 Mar 2022 16:35:56 -0500 X-MC-Unique: 1tVeSyWcM_StZ0Q3DqNJxQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 44FD9180A088; Wed, 9 Mar 2022 21:35:55 +0000 (UTC) Received: from [172.16.176.1] (ovpn-64-2.rdu2.redhat.com [10.10.64.2]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D98CE4CEE1; Wed, 9 Mar 2022 21:35:54 +0000 (UTC) From: "Benjamin Coddington" To: "Chuck Lever III" Cc: trondmy@kernel.org, "Linux NFS Mailing List" Subject: Re: [PATCH v9 03/27] NFS: Trace lookup revalidation failure Date: Wed, 09 Mar 2022 16:35:53 -0500 Message-ID: In-Reply-To: <52214581-7C9A-425A-9B8E-082B7ACE23C1@oracle.com> References: <20220227231227.9038-1-trondmy@kernel.org> <20220227231227.9038-2-trondmy@kernel.org> <20220227231227.9038-3-trondmy@kernel.org> <20220227231227.9038-4-trondmy@kernel.org> <638A1DDB-5424-4FFA-A5A5-D212519D3A37@redhat.com> <52214581-7C9A-425A-9B8E-082B7ACE23C1@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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-nfs@vger.kernel.org On 9 Mar 2022, at 10:28, Chuck Lever III wrote: >> On Mar 9, 2022, at 8:42 AM, Benjamin Coddington >> wrote: >> >> On 24 Feb 2022, at 21:09, Trond Myklebust wrote: >>> On Thu, 2022-02-24 at 09:14 -0500, Benjamin Coddington wrote: >>>> There's a path through nfs4_lookup_revalidate that will now only >>>> produce >>>> this exit tracepoint. Does it need the _enter tracepoint added? >>> >>> You're thinking about the nfs_lookup_revalidate_delegated() path? >>> The >>> _enter() tracepoint doesn't provide any useful information that >>> isn't >>> already provided by the _exit(), AFAICS. >> >> No, the path through nfs4_do_lookup_revalidate(), reval_dentry: jump. >> But I >> agree there's not much value in the _enter() tracepoint. Maybe we >> can >> remove it, and _exit more like _done. >> >> I am thinking about hearing back from folks about mis-matched >> _enter() and >> _exit() results, but also realize this is nit-picking. > > I think the _enter / _exit trace points simply replaced > dprintk call sites which did much the same reporting. > Maybe we should consider replacing some of these because > we can rely on function call tracing instead. > > But generally we like to see trace points that report > exceptional events rather than "I made it to this point". > The latter category of trace points are interesting > while code is under development but often loses its > value once the code is in the field. Instead of "hearing back from folks" I should have said "I worry our QE team is going to discover and possibly report as a bug". :P Thanks for filling in Chuck! Ben