All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Steve Dickson <steved@redhat.com>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH 1/1] rpcdebug: Add missing debug flags
Date: Thu, 20 Oct 2011 14:45:19 -0400	[thread overview]
Message-ID: <4EA06C3F.9010302@RedHat.com> (raw)
In-Reply-To: <1319057013-19015-1-git-send-email-steved@redhat.com>



On 10/19/2011 04:43 PM, Steve Dickson wrote:
> This patch added the following debug flags:
> 
> fscache - enable FSCache debugging
> pnfs - enable general pNFS debugging
> pnfs_ld - enable file layout pNFS debugging
> 
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed...

steved.

> ---
>  support/include/nfs/debug.h |    3 +++
>  tools/rpcdebug/rpcdebug.c   |    3 +++
>  2 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/support/include/nfs/debug.h b/support/include/nfs/debug.h
> index d391e91..dbec5ba 100644
> --- a/support/include/nfs/debug.h
> +++ b/support/include/nfs/debug.h
> @@ -76,6 +76,9 @@ enum {
>  #define NFSDBG_CALLBACK		0x0100
>  #define NFSDBG_CLIENT		0x0200
>  #define NFSDBG_MOUNT		0x0400
> +#define NFSDBG_FSCACHE		0x0800
> +#define NFSDBG_PNFS			0x1000
> +#define NFSDBG_PNFS_LD		0x2000
>  #define NFSDBG_ALL		0xFFFF
>  
>  #endif /* _NFS_DEBUG_H */
> diff --git a/tools/rpcdebug/rpcdebug.c b/tools/rpcdebug/rpcdebug.c
> index 275a491..444616d 100644
> --- a/tools/rpcdebug/rpcdebug.c
> +++ b/tools/rpcdebug/rpcdebug.c
> @@ -167,6 +167,9 @@ static struct flagmap {
>  	FLAG(NFS,       CALLBACK),
>  	FLAG(NFS,       CLIENT),
>  	FLAG(NFS,       MOUNT),
> +	FLAG(NFS,       FSCACHE),
> +	FLAG(NFS,       PNFS),
> +	FLAG(NFS,       PNFS_LD),
>  	FLAG(NFS,	ALL),
>  
>  	/* nfsd */

      parent reply	other threads:[~2011-10-20 18:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-19 20:43 [PATCH 1/1] rpcdebug: Add missing debug flags Steve Dickson
2011-10-20  1:33 ` Boaz Harrosh
2011-10-20 13:55   ` Steve Dickson
2011-10-20 18:45 ` Steve Dickson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EA06C3F.9010302@RedHat.com \
    --to=steved@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.