From: Mike Waychison <mike@waychison.com>
To: nfs@lists.sourceforge.net
Subject: Re: [PATCH 1/2] VFS: New /proc file /proc/self/mountstats
Date: Wed, 23 Mar 2005 17:42:31 +0000 (UTC) [thread overview]
Message-ID: <loom.20050323T183257-779@post.gmane.org> (raw)
In-Reply-To: 20050317162613.756101BB98@citi.umich.edu
Hi Chuck,
Chuck Lever <cel <at> citi.umich.edu> writes:
>
> Create a new file under /proc/self, called mountstats, where mounted file
> systems can export information (configuration options, performance counters,
> and so on). Use a mechanism similar to /proc/mounts and s_ops->show_options.
>
> diff -X /home/cel/src/linux/dont-diff -Naurp 00-stock/fs/namespace.c
01-mountstats/fs/namespace.c
...
> +struct seq_operations mountstats_op = {
> + .start = ms_start,
> + .next = ms_next,
> + .stop = ms_stop,
You can use m_start, m_next and m_stop here instead of copying and pasting the
routines. Otherwise looks fine.
Mike Waychison
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2005-03-23 18:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-17 16:26 [PATCH 1/2] VFS: New /proc file /proc/self/mountstats Chuck Lever
2005-03-23 17:42 ` Mike Waychison [this message]
2011-10-13 12:58 ` stark
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=loom.20050323T183257-779@post.gmane.org \
--to=mike@waychison.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 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).