From: Steve Dickson <SteveD@redhat.com>
To: "Lever, Charles" <Charles.Lever@netapp.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: df hangs on down nfs server mounted with hard,intr,can't kill
Date: Mon, 15 Mar 2004 21:26:51 -0500 [thread overview]
Message-ID: <405665EB.1030002@RedHat.com> (raw)
In-Reply-To: <482A3FA0050D21419C269D13989C611302B07BC3@lavender-fe.eng.netapp.com>
Lever, Charles wrote:
>zeroing the RPC counters is a little outside the scope of my
>patch, as i'm providing a whole new interface that is outside
>the /proc/net/rpc/* hierarchy. this is work that might/should
>go in separately from mine?
>
Yes.. I agree... they are separate... and probably should stay separate.
>but one question: why do you use a hex value for this interface?
>
>
Two reasons, one the debug interface uses a numeral interface and
two, I figured since nfsstat is already converting the command line
arguments into 'flag bits', reusing those flags bits to tell the kernel
which stats should be zeroed would be fairly clean and non intrusive
way to do it.
>i thought /proc was supposed to be human-readable. why not use
>"z" "zc" "zs" just like your nfsstat arguments so that one can
>just as easily do:
>
> echo "zs" > /proc/net/rpc/nfs
>
>
> nfsstat -zs
>
>
>
Good point... I guess I just assumed the nfsstat interface would be used.
SteveD.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2004-03-16 2:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-15 22:57 df hangs on down nfs server mounted with hard,intr,can't kill Lever, Charles
2004-03-16 2:26 ` Steve Dickson [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-09 19:51 df hangs on down nfs server mounted with hard,intr, can't kill Lever, Charles
2004-03-09 20:08 ` Wade Hampton
2004-03-10 8:09 ` Olaf Kirch
2004-03-10 19:18 ` Trond Myklebust
2004-03-11 9:31 ` Olaf Kirch
2004-03-11 19:44 ` Trond Myklebust
2004-03-12 8:54 ` Olaf Kirch
2004-03-15 5:21 ` Yusuf Goolamabbas
2004-03-15 17:03 ` Trond Myklebust
2004-03-15 18:15 ` Steve Dickson
2004-03-09 19:33 Wade Hampton
2004-03-10 2:40 ` Ian Kent
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=405665EB.1030002@RedHat.com \
--to=steved@redhat.com \
--cc=Charles.Lever@netapp.com \
--cc=nfs@lists.sourceforge.net \
/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.