From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx1.redhat.com ([209.132.183.28]:24092 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754453Ab2FSOnD (ORCPT ); Tue, 19 Jun 2012 10:43:03 -0400 Message-ID: <4FE08FB0.70204@RedHat.com> Date: Tue, 19 Jun 2012 10:41:52 -0400 From: Steve Dickson MIME-Version: 1.0 To: Chuck Lever CC: linux-nfs@vger.kernel.org Subject: Re: [PATCH] rpcdebug: Add new "state" flag for the nfs module References: <20120604210153.13269.10747.stgit@oracle-2.citi.umich.edu> In-Reply-To: <20120604210153.13269.10747.stgit@oracle-2.citi.umich.edu> Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: On 06/04/2012 05:01 PM, Chuck Lever wrote: > Kernel 3.5 adds a debugging flag for showing NFS client debugging > messages having to do with NFSv4 state operations. > > Signed-off-by: Chuck Lever Committed... Sorry for taking so long... Pings do work!!! ;-) steved. > --- > > support/include/nfs/debug.h | 1 + > tools/rpcdebug/rpcdebug.c | 1 + > 2 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/support/include/nfs/debug.h b/support/include/nfs/debug.h > index dbec5ba..80a1b1d 100644 > --- a/support/include/nfs/debug.h > +++ b/support/include/nfs/debug.h > @@ -79,6 +79,7 @@ enum { > #define NFSDBG_FSCACHE 0x0800 > #define NFSDBG_PNFS 0x1000 > #define NFSDBG_PNFS_LD 0x2000 > +#define NFSDBG_STATE 0x4000 > #define NFSDBG_ALL 0xFFFF > > #endif /* _NFS_DEBUG_H */ > diff --git a/tools/rpcdebug/rpcdebug.c b/tools/rpcdebug/rpcdebug.c > index 444616d..d6e10d3 100644 > --- a/tools/rpcdebug/rpcdebug.c > +++ b/tools/rpcdebug/rpcdebug.c > @@ -170,6 +170,7 @@ static struct flagmap { > FLAG(NFS, FSCACHE), > FLAG(NFS, PNFS), > FLAG(NFS, PNFS_LD), > + FLAG(NFS, STATE), > FLAG(NFS, ALL), > > /* nfsd */ >