Date: Tue, 24 Mar 2009 17:14:34 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/cddl/dev/dtnfsclient dtnfsclient.c src/sys/nfsclient nfs_bio.c nfs_kdtrace.h nfs_subs.c nfs_vnops.c src/sys/sys dtrace_bsd.h Message-ID: <200903241717.n2OHHctZ066569@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2009-03-24 17:14:34 UTC
FreeBSD src repository
Modified files:
sys/cddl/dev/dtnfsclient dtnfsclient.c
sys/nfsclient nfs_bio.c nfs_subs.c nfs_vnops.c
sys/sys dtrace_bsd.h
Added files:
sys/nfsclient nfs_kdtrace.h
Log:
SVN rev 190380 on 2009-03-24 17:14:34Z by rwatson
Add DTrace probes to the NFS access and attribute caches. Access cache
events are:
nfsclient:accesscache:flush:done
nfsclient:accesscache:get:hit
nfsclient:accesscache:get:miss
nfsclient:accesscache:load:done
They pass the vnode, uid, and requested or loaded access mode (if any);
the load event may also report a load error if the RPC fails.
The attribute cache events are:
nfsclient:attrcache:flush:done
nfsclient:attrcache:get:hit
nfsclient:attrcache:get:miss
nfsclient:attrcache:load:done
They pass the vnode, optionally the vattr if one is present (hit or load),
and in the case of a load event, also a possible RPC error.
MFC after: 1 month
Sponsored by: Google, Inc.
Revision Changes Path
1.2 +255 -53 src/sys/cddl/dev/dtnfsclient/dtnfsclient.c
1.169 +7 -0 src/sys/nfsclient/nfs_bio.c
1.1 +121 -0 src/sys/nfsclient/nfs_kdtrace.h (new)
1.159 +41 -6 src/sys/nfsclient/nfs_subs.c
1.304 +66 -10 src/sys/nfsclient/nfs_vnops.c
1.3 +45 -5 src/sys/sys/dtrace_bsd.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903241717.n2OHHctZ066569>
