Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2877656imm; Sun, 7 Oct 2018 14:07:24 -0700 (PDT) X-Google-Smtp-Source: ACcGV61vIZrSCqIvuPe/LPVKosf0Xj64BKOHEnQgiVtoGJGoWS6qeZVV3Zb5YEF2LiDg796GR8bs X-Received: by 2002:a17:902:a58a:: with SMTP id az10-v6mr21081515plb.204.1538946444830; Sun, 07 Oct 2018 14:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538946444; cv=none; d=google.com; s=arc-20160816; b=vfPYAPgHzbTn9amR4p6uUcSKu07vI2ZNil4L7gs8z0pthfazHrFViQZ8S7l4O/x06X lCJBG+WD6mmUL4YrKvGm4AMqQZ57+eH3ypiNrRz4T5uSjI0RWktTekUvpi3IOk3433MY hkc7zp9Uy9RtzD3gHI+pNqh6jTnjZK1QJByQ2BuoqzcK7y1gGiUWovQMmM+E4osfYwXI 2DdlW9OzY3f8FKTKWnCX/q/JgB7szlsoKKW8QqYKfc8sYiMyX3Tg1sb3KKMemPLb2WO2 ozQQcIHhSty/JQI/u0nnIq+mvTwGgl3eXigdvqSueUjLTfhh2/hWDRq6JPr7ywSaS8oQ 5I5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=P/XtOx9ddrUlhCq64yA92kWH9QKRy9rHxPsL/tOf9j4=; b=Pyi6cAwcnOr/632yQI+64VuuRM984yL36gGwvYwPIkIZ4JkFnPfGZguVqF4MrAAUjC oPNR9PwZuX2PZrt0P0Y/6w7isiFkQz58+tnWTwVcisx6jIJWK/G7HAy4ICfiO6pzHAqW q2muRVKTYLjxQOgES57/5lscH3NxDyj5C1qdAiAYQk2AHnlOBKqha2mqCEtqO3S26641 m24E3ADiptRLynfwm+OMCuLEMW5vQJ2TS3CC3TBCQBCrAg4KqxaiiY54KWBtycsLU1Qt 3cD5/lNHvf/48EYsARpyeZRw7Y0Ei4McEX51nDAHgxwyuA+txc4njurwZrEFvzWRSOu0 MkfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QAbmvJ0e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 194-v6si17098531pfy.164.2018.10.07.14.07.09; Sun, 07 Oct 2018 14:07:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QAbmvJ0e; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726013AbeJHEPT (ORCPT + 99 others); Mon, 8 Oct 2018 00:15:19 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:36000 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725755AbeJHEPT (ORCPT ); Mon, 8 Oct 2018 00:15:19 -0400 Received: by mail-pg1-f196.google.com with SMTP id f18-v6so6913318pgv.3; Sun, 07 Oct 2018 14:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=P/XtOx9ddrUlhCq64yA92kWH9QKRy9rHxPsL/tOf9j4=; b=QAbmvJ0enPN/xBmUdmekFqIclQNCjk6EjL2GA79L+ME3qWpaaMy8tB0rlrJpNsSqDN n7Qp6MhdHqYPpCb46GBkMB87rGD9RQe5BTO1MWKFRmM1NDOfWj33UvF51A2N0cCTTBRe usTtG3Nxqhxplf11sLHOfPTUJiarPhGDR2FsEEi8je40U4+X79S7WHw9VXjxTx6Kk+A5 ifKjC6tNMCB3cR5fvap4UNgesaydryDllnlpqqmpdSO7dfpTueyJ8byUgCkVRLW7Lkh2 W1KOHq6RPgqejBt4wTzA9Aa599OFWTvzaZaprly8m4X/cf50bI11uEbNAirN05UNIxKQ m3xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=P/XtOx9ddrUlhCq64yA92kWH9QKRy9rHxPsL/tOf9j4=; b=BVAiCVCn5wTx1uu79C6zv7vAxn6OEJ+linuywrR4aAKOT5P5/o+2o9jzhPIYuqQOGa svK4pS8rnEcO9GGelvDUpdwuki13sFOwmmuWnWOan6MZwdM1LB1rJ7PNlHQPklS+pA7B 5ZnHXwFewAn2SgP/WflXbTo5/5CB1WAx28O1gyU6TOejbeGbDOFXfAB6hRSnwMsfsbz8 wLRzvQHqcD6CTASn2M2xAhA9uIFxh10JbT3gaj0stUY5+W9UfLPvDPk6QHUTLD6qxw1S 6XN+DRxuxU1YDpUJ3T67FedR1TE4HCfD0KxIZWyD5YsYl5HbMdbijK5WZmSsl7DQEU+C rjsg== X-Gm-Message-State: ABuFfojbXI0D6I/bN/9MDhSrTElCbly2fQoB5RVxfIiFEIw+wncSSsAP P4uGo559erTRV2v16DDbcn8sv6EMhw+Q+GMP5SU= X-Received: by 2002:a63:6b05:: with SMTP id g5-v6mr18803673pgc.344.1538946406932; Sun, 07 Oct 2018 14:06:46 -0700 (PDT) MIME-Version: 1.0 References: <9006BE8A-38BB-4249-BEBA-C0DB34560885@redhat.com> In-Reply-To: <9006BE8A-38BB-4249-BEBA-C0DB34560885@redhat.com> From: Steve French Date: Sun, 7 Oct 2018 16:06:35 -0500 Message-ID: Subject: Re: [PATCH v3 0/2] CIFS: Info-level log support, print message when attempting mount. To: rfreire@redhat.com Cc: LKML , Steve French , CIFS , Pavel Shilovsky Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 7, 2018 at 3:27 PM Rodrigo Freire wrote: > > Thanks Steve! Sorry for overlooking it, whoops. > > One more question; what=E2=80=99s your/community opinion on rewriting the= existing pr_notice to the new cifs_info? > > I could happily retrofit it. I don't have a strong opinion. The four callers could be changed, but my gut reaction is that it is a much higher priority to add useful dynamic tracepoints (ftrace ie trace-cmd) to cifs to make it easier to debug real customer problems that are currently awkward to debug. By comparison, even ext4 has over 100 dynamic tracepoints, but lar= ger file systems like XFS has 500 (!), and nfs (including SunRPC) has about 100= . My guess is that going from our current 28 dynamic trace points (in cifs.ko) to double that (at least) will happen as developers add tracepoints to help them debug real problems (and of course it will help developers working on future problems = even more ...) > > On 7 Oct 2018, at 15:59, Steve French wrote: > > > > Merged into cifs-2.6.git for-next > > > > Made a trivial tab/space correction in the patch (pointed out by > > checkpatch) and then added a trivial followon patch to address a > > comment/style (trivial) > > issue pointed out by checkpatch and to add a little more detailed > > comments about generally when to use each debug function. If any > > objections let me know. > > > > > >> On Sun, Oct 7, 2018 at 10:21 AM Rodrigo Freire wr= ote: > >> > >> Hi Steve, > >> From our conversation over v2, I came out with this v3 patch, which I = broke > >> in two commits: > >> > >> * The first commit in cifs_debug.h, creating the cifs_info() function. > >> - The aim of this commit is to allow to the developer to be able to p= rint > >> informational-level data without having to use pr_info, pr_notice e= tc, > >> in line with other filesystems. > >> . One interesting and noteworthy feature of cifs_info() is that it = is > >> transparent to the CIFS_DEBUG config state, either in "y" or "n". --=20 Thanks, Steve