Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3595344pxb; Wed, 13 Oct 2021 09:03:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziEtYVV2z7eYebW1t5BE5YVhCp+feSfoCpbEMBq4tmvsUaN2sFpE03nu1DJsxRrqecJ0M9 X-Received: by 2002:a62:ab17:0:b0:44c:f727:98cd with SMTP id p23-20020a62ab17000000b0044cf72798cdmr177250pff.35.1634140998751; Wed, 13 Oct 2021 09:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634140998; cv=none; d=google.com; s=arc-20160816; b=x9VLNbZkO/y/3hefK+GUj/ZkdV12QgsiQAGHDDhEwhDAyJfH2eeKgrvLnrvKFG8Il9 FIGyGH3o23AmRDsJaSdDM+e0f9G/HcfPpX/kDtBSOY/NPUq8wDZaQLinMBKIVLFwAK0N ywF6shAGTjfQoqzMmg23NGDzix2bVSQZ9BgGnIgs53rCDYKxuMw93GLLpTZ5hmfTwUSe pSVUPJmPNU6xsQqi4sZy1g7bEtWLq2DUI55sjoj4JHsF4MexwlCpMNXBrQnMpbJBh46p jMXYE8ItSw/tto5N45esXo3swvRJNV6tFboQeq6oCtabGjHZTBcqO2tq89B8FZ0yxgzO UuvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:from:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date :dkim-signature:dkim-filter; bh=p4uPxexKQ6akinp4b6tqSqBE9oldQcONECcx2xpdsNM=; b=khJ247OuunETwsPFrxr9EfJwNzs+VJWybznuDCpQIsTSEYeTb65vVsvv9Bmhz6wQpv MddcHHyuoDUOmN7NOaO2LO82SIredR7RV6FNT0Je28OyGTc8nFM53I04JABs+zUD9Z3A DZGbxy1VfRH/lqEa9G25Q0C1Ia/A0BPM/qFUw/YUaBPznQTV0D7Vi/lA7jaUBBCMErlH EMD3UnN+SuskLnYyDGY0vUai659r6OX1a8QsFUMsOqNdHf+UO5RDURLf0ThhzHmiJ4VH jkK3Siw0jaY9A4I/iQDGoySKFvOVs73AcwMeP5mhKevpveyv1tAkx/AHqcvqciYOowJ/ 8Ujw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=gwy09BQf; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si1355509pfu.351.2021.10.13.09.03.04; Wed, 13 Oct 2021 09:03:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=gwy09BQf; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237449AbhJMQBp (ORCPT + 99 others); Wed, 13 Oct 2021 12:01:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237656AbhJMQBb (ORCPT ); Wed, 13 Oct 2021 12:01:31 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81BF0C06176A; Wed, 13 Oct 2021 08:59:27 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 959F36C86; Wed, 13 Oct 2021 11:59:26 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 959F36C86 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1634140766; bh=p4uPxexKQ6akinp4b6tqSqBE9oldQcONECcx2xpdsNM=; h=Date:To:Cc:Subject:References:In-Reply-To:From:From; b=gwy09BQf83fy7bO0mjjBUnGGA5Rq5TTua1dD+pZTnwLCqBT0eqkb0+8QBlMTsB5q1 pGBcx6VfkSpnPALYqm2FkNRnc3olLvI2ukNnHMwOYvD6y6hHZT8HSsmmri9RF8qG8a 1kPrshVzvgSHZXZCmZlNFd59kdqSll++J3heLbio= Date: Wed, 13 Oct 2021 11:59:26 -0400 To: Chuck Lever Cc: linux-rdma@vger.kernel.org, linux-nfs@vger.kernel.org Subject: Re: [PATCH v1 0/6] Deprecate dprintk in svcrdma Message-ID: <20211013155926.GC6260@fieldses.org> References: <163413628188.6408.17033105928649076434.stgit@bazille.1015granger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <163413628188.6408.17033105928649076434.stgit@bazille.1015granger.net> User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, Oct 13, 2021 at 10:46:49AM -0400, Chuck Lever wrote: > This patch series moves forward with the removal of dprintk in > SUNRPC in favor of tracepoints. This is the last step for the > svcrdma component. Makes sense to me. I would like some (very short) documentation, somewhere. Partly just for my sake! I'm not sure exactly what to recommend to bug reporters. I guess trace-cmd record -e 'sunrpc:* trace-cmd report would be a rough substitute for "rpcdebug -m rpc -s all"? Do we have a couple examples of issues that could be diagnosed with tracepoints? In the past I don't feel like I've ended up using dprintks all that much; somehow they're not usually where I need them. But maybe that's just me. And maybe as we put more thought into where tracepoints should be, they'll get more useful. Documentation/filesystems/nfs/, or the linux-nfs wiki, could be easy places to put it. Though *something* in the man pages would be nice. At a minimum, a warning in rpcdebug(8) that we're gradually phasing out dprintks. --b. > > --- > > Chuck Lever (6): > svcrdma: Remove dprintk() call sites in module handlers > svcrdma: Remove dprintk call site in svc_rdma_create_xprt() > svcrdma: Remove dprintk call site in svc_rdma_parse_connect_private() > svcrdma: Remove dprintk call sites during QP creation > svcrdma: Remove dprintk call sites during accept > svcrdma: Remove include/linux/sunrpc/debug.h > > > net/sunrpc/xprtrdma/svc_rdma.c | 9 ------ > net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 1 - > net/sunrpc/xprtrdma/svc_rdma_sendto.c | 1 - > net/sunrpc/xprtrdma/svc_rdma_transport.c | 37 ++---------------------- > 4 files changed, 3 insertions(+), 45 deletions(-) > > -- > Chuck Lever