From: Chuck Lever Date: Mon, 20 Mar 2006 18:44:12 +0000 (-0500) Subject: VFS: New /proc file /proc/self/mountstats X-Git-Tag: v2.6.17-rc1~667^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4629fe2f094b719847f31be1ee5ab38300038b2;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed