Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5513390ybi; Tue, 4 Jun 2019 07:47:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBDl6aKifM60fYGN/KkCJwgOWh4MOEpXYyXdxOGbwN6zsl8SsTfNRgPhJtR7We4vBgdRs/ X-Received: by 2002:a17:90a:e17:: with SMTP id v23mr36844525pje.139.1559659634502; Tue, 04 Jun 2019 07:47:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559659634; cv=none; d=google.com; s=arc-20160816; b=zTp4/76Ww6yoxKuO7yU4MBA2932TcKzprlw4AnFADXQhda5ysa53GLhMQ1Gsb/lu1p OJYea1RZ0Z51usid3yjpVEZrPfCEILlfsdlSK9o4VOQZX6Uq9Wru+Xuqmc/T5tWt+AKz vMyYsPGBCc8/80UmRShANemt+fqC7Mjf0oq5WRxyoWUbfhKhSP8TuYCNkrO11pcZVR4E ZQ6W/eJv/bGwAWXZsN4KpJbv7BZxLJSTYSu4aFgd/YuYCQg0GF8CL7RR9AluPomPVNA8 SPGqPeMU7vsumS9zVIBA+IifIroNuBsnSBwTZlnnJ40ezh5iA9btXcNTyT6aP/utWZ6W KQQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9ZNC8IR6ubf+tLxsr9Qs+MnPZaJDlgyjSvXk4apzMtY=; b=Td88IVVk1aXQrf2zBGe5fApXpbdn7tL2d8b3DaoWDTSZ7Zvj+oUXoF26WsG9Yuz8YV /B2UBxbuUKb4lHEE+NFFsbTHcVGIJ97tL9/PygcS1LD5YuDWXpDqNHvCy6Ja64sDkMZq gHXgUH61cRANrZCWb3ja/D4yu23jK0mhg/tj65fgizQh3MX7PZSic2IrJD/x8yqA1WhI geA6Wc6KalmA2LOPcTA7HzRgZQOAGkIhDYtANLhg4RyGWfMuRfP579VV4jmFUA6fKdXO iG7PqsjOv/ePs1eeByFEgdpXP4KGB++x4OFmkQzlxvfaYDZAehjJ8yGc+5QAmkmnuc1K Aktg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7si23254554pgb.109.2019.06.04.07.46.43; Tue, 04 Jun 2019 07:47:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727504AbfFDOpg (ORCPT + 99 others); Tue, 4 Jun 2019 10:45:36 -0400 Received: from fieldses.org ([173.255.197.46]:47386 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727385AbfFDOpf (ORCPT ); Tue, 4 Jun 2019 10:45:35 -0400 Received: by fieldses.org (Postfix, from userid 2815) id 509F21C9D; Tue, 4 Jun 2019 10:45:35 -0400 (EDT) Date: Tue, 4 Jun 2019 10:45:35 -0400 From: Bruce Fields To: Chuck Lever Cc: Dave Wysochanski , Linux NFS Mailing List Subject: Re: [PATCH 3/3] SUNRPC: Count ops completing with tk_status < 0 Message-ID: <20190604144535.GA19422@fieldses.org> References: <20190523201351.12232-1-dwysocha@redhat.com> <20190523201351.12232-3-dwysocha@redhat.com> <20190530213857.GA24802@fieldses.org> <9B9F0C9B-C493-44F5-ABD1-6B2B4BAA2F08@oracle.com> <20190530223314.GA25368@fieldses.org> <5CE8A68E-F5C2-4321-8F57-451F5E5AF789@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5CE8A68E-F5C2-4321-8F57-451F5E5AF789@oracle.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, Jun 03, 2019 at 02:56:29PM -0400, Chuck Lever wrote: > > On Jun 3, 2019, at 2:53 PM, Dave Wysochanski wrote: > > On Fri, 2019-05-31 at 09:25 -0400, Chuck Lever wrote: > >>> On May 30, 2019, at 6:33 PM, Bruce Fields > >>> wrote: > >>> On Thu, May 30, 2019 at 06:19:54PM -0400, Chuck Lever wrote: > >>>> We now have trace points that can do that too. > >>> > >>> You mean, that can report every error (and its value)? > >> > >> Yes, the nfs_xdr_status trace point reports the error by value and > >> symbolic name. > > > > The tracepoint is very useful I agree. I don't think it will show: > > a) the mount > > b) the opcode > > > > Or am I mistaken and there's a way to get those with a filter or > > another tracepoint? > > The opcode can be exposed by another trace point, but the link between > the two trace points is tenuous and could be improved. > > I don't believe any of the NFS trace points expose the mount. My testing > is largely on a single mount so my imagination stopped there. Dumb question: is it possible to add more fields to tracepoints without breaking some kind of backwards compatibility? I wonder if adding, say, an xid and an xprt pointer to tracepoints when available would help with this kind of thing. In any case, I think Dave's stats will still be handy if only because they're on all the time. --b.