From: Benny Halevy <bhalevy@panasas.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: steved@redhat.com, linux-nfs@vger.kernel.org
Subject: Re: [PATCH] nfsstat: reorder nfs4 stats for 2.6.38 and up
Date: Wed, 27 Apr 2011 07:50:12 +0300 [thread overview]
Message-ID: <4DB7A084.2060009@panasas.com> (raw)
In-Reply-To: <23EF6F61-46F2-431B-8A44-A3E941688D65@oracle.com>
On 2011-04-25 17:11, Chuck Lever wrote:
> Hey all-
>
> So what are we going to do when adding NFSv4.2 to this mix? Will we
> then have to freeze both the NFSv4.1 and NFSv4.0 procedure API in the
> kernel? Seems painful.
Good question.
How about changing the stat pseudo-file format to include an op
identifier along with its respective counter, printing a line per op?
Benny
>
> On Apr 22, 2011, at 4:46 AM, Benny Halevy wrote:
>
>> match order in 2.6.38, 2.6.39 (-rc3) and development tree while at
>> it, get rid of obsolete ds_write and ds_commit
>>
>> Signed-off-by: Benny Halevy <bhalevy@panasas.com> ---
>> utils/nfsstat/nfsstat.c | 5 +---- 1 files changed, 1
>> insertions(+), 4 deletions(-)
>>
>> git://linux-nfs.org/~bhalevy/pnfs-nfs-utils.git updated
>> respectively
>>
>> diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c
>> index f31bb81..a4a8034 100644 --- a/utils/nfsstat/nfsstat.c +++
>> b/utils/nfsstat/nfsstat.c @@ -126,14 +126,11 @@ static const char *
>> nfscltproc4name[CLTPROC4_SZ] = { "sequence", "get_lease_t",
>> "reclaim_comp", + "getdevinfo", "layoutget", "layoutcommit",
>> "layoutreturn", "getdevlist", - "getdevinfo", - /* nfsv4.1 pnfs
>> client ops to data server only */ - "ds_write", - "ds_commit", };
>>
>> static const char * nfssrvproc4opname[SRVPROC4OPS_SZ] = { --
>> 1.7.3.4
>>
>> -- To unsubscribe from this list: send the line "unsubscribe
>> linux-nfs" in the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2011-04-27 4:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-22 8:46 [PATCH] nfsstat: reorder nfs4 stats for 2.6.38 and up Benny Halevy
2011-04-25 14:11 ` Chuck Lever
2011-04-27 4:50 ` Benny Halevy [this message]
2011-04-27 14:16 ` Trond Myklebust
2011-04-27 18:52 ` Benny Halevy
2011-04-27 18:58 ` Trond Myklebust
2011-04-27 20:24 ` Benny Halevy
2011-04-27 20:29 ` Trond Myklebust
[not found] ` <1303936194.28589.2.camel-SyLVLa/KEI9HwK5hSS5vWB2eb7JE58TQ@public.gmane.org>
2011-04-27 20:33 ` Benny Halevy
2011-04-27 21:05 ` Steve Dickson
2011-05-23 12:39 ` Steve Dickson
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=4DB7A084.2060009@panasas.com \
--to=bhalevy@panasas.com \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=steved@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).