]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: add I/O performance counters
authorChuck Lever <cel@netapp.com>
Mon, 20 Mar 2006 18:44:14 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:14 +0000 (13:44 -0500)
commitccfab4c2842cb19467469b0818442c926d7a503b
tree31dbb285639ea68db3abc0c4129988f02d50f11a
parent5470be250bbd8bfecdda46dde57286042c84d7e4
NFS: add I/O performance counters

Invoke the byte and event counter macros where we want to count bytes and
events.

Clean-up: fix a possible NULL dereference in nfs_lock, and simplify
nfs_file_open.

Test-plan:
fsx and iozone on UP and SMP systems, with and without pre-emption.  Watch
for memory overwrite bugs, and performance loss (significantly more CPU
required per op).

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/dir.c
fs/nfs/direct.c
fs/nfs/file.c
fs/nfs/inode.c
fs/nfs/read.c
fs/nfs/write.c