kernel_optimize_test/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 [PATCH] hrtimer: switch itimers to hrtimer 2006-01-10 08:01:38 -08:00
base.c VFS: New /proc file /proc/self/mountstats 2006-03-20 13:44:12 -05:00
generic.c [PATCH] fs/proc/: function prototypes belong in header files 2006-01-08 20:14:03 -08:00
inode-alloc.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c [PATCH] fix handling of st_nlink on procfs root 2006-02-18 15:54:36 -05:00
internal.h [PATCH] fs/proc/: function prototypes belong in header files 2006-01-08 20:14:03 -08:00
kcore.c [PATCH] capable/capability.h (fs/) 2006-01-11 18:42:13 -08:00
kmsg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] kdump: Access dump file in elf format (/proc/vmcore) 2005-06-25 16:24:53 -07:00
mmu.c [PATCH] fix impossible VmallocChunk 2005-05-17 07:59:10 -07:00
nommu.c [PATCH] output of /proc/maps on nommu systems is incomplete 2005-10-17 17:03:57 -07:00
proc_devtree.c [PATCH] powerpc: Add/remove/update properties in /proc/device-tree 2006-01-13 21:02:13 +11:00
proc_misc.c [PATCH] disable per cpu intr in /proc/stat 2006-02-03 08:32:07 -08:00
proc_tty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
root.c [PATCH] fix handling of st_nlink on procfs root 2006-02-18 15:54:36 -05:00
task_mmu.c [PATCH] smaps: shared fix 2006-03-06 18:40:45 -08:00
task_nommu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vmcore.c [PATCH] kdump: vmcore compilation warning fix 2006-01-11 18:42:11 -08:00