freebsd-skq/sys/cddl
rwatson f0f3719742 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.
2009-03-24 17:14:34 +00:00
..
boot/zfs Add definitions for ZFS pool version 13. 2008-11-21 09:10:35 +00:00
compat/opensolaris Extend the "vfsopt" mount options for more general use. Make struct 2009-03-02 23:26:30 +00:00
contrib/opensolaris The zfs_get_xattrdir() function is used to find the extended attribute 2009-03-18 16:19:44 +00:00
dev Add DTrace probes to the NFS access and attribute caches. Access cache 2009-03-24 17:14:34 +00:00