[PATCH 13/17] nfsd4: add per-operation server stats

Shankar Anand shanand at novell.com
Wed Jul 5 06:50:18 EDT 2006


Hi Neil,

>>> On 7/4/2006 at 11:45 PM, in message
<20060704181531.GB5104 at fieldses.org>, "J.
Bruce Fields" <bfields at fieldses.org> wrote:
> On Tue, Jul 04, 2006 at 08:50:45AM -0600, Shankar Anand wrote:
>> The modified patch is attached with this e-mail.
>> 
>> Instead of tracking using NUMNFS4OPS, I have used FIRST_NFS4OP 
>> and LAST_NFS4OP (both defined in nfs4.h). This might help while
>> adding new operations in future.
>> 
>> Also now the v4 server stats array is 0-based and three inirial
'0's
>> get printed in /proc/net/rpc/nfsd.
> 
> Works for me, thanks.

It will be good if you can take this patch into the mainline kernel
soon
so that we can make sure that the nfs-utils (nfsstat) patch and these 
become available almost at the same time.

Shankar


More information about the NFSv4 mailing list