linux-IllusionX/fs/proc
Chuck Lever b4629fe2f0 VFS: New /proc file /proc/self/mountstats
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.

This mechanism does not violate namespace security, and is safe to use while
other processes are unmounting file systems.

Thanks to Mike Waychison for his review and comments.

Test-plan:
Test concurrent mount/unmount operations while cat'ing /proc/self/mountstats.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-03-20 13:44:12 -05:00
..
array.c
base.c VFS: New /proc file /proc/self/mountstats 2006-03-20 13:44:12 -05:00
generic.c
inode-alloc.txt
inode.c
internal.h
kcore.c
kmsg.c
Makefile
mmu.c
nommu.c
proc_devtree.c
proc_misc.c
proc_tty.c
root.c
task_mmu.c [PATCH] smaps: shared fix 2006-03-06 18:40:45 -08:00
task_nommu.c
vmcore.c