NFS: directory trace messages
authorChuck Lever <cel@netapp.com>
Mon, 20 Mar 2006 18:44:24 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:24 +0000 (13:44 -0500)
commit1e7cb3dc12dbbac690d78c84f9c7cb11132ed121
treea6bc36250a6fe5a754b464099a50baf98ce36e78
parente95b85ec9d8c8ad4667f746aa4c9d22c281efc44
NFS: directory trace messages

Reuse NFSDBG_DIRCACHE and NFSDBG_LOOKUPCACHE to provide additional
diagnostic messages that trace the operation of the NFS client's
directory behavior.  A few new messages are now generated when NFSDBG_VFS
is active, as well, to trace normal VFS activity.  This compromise
provides better trace debugging for those who use pre-built kernels,
without adding a lot of extra noise to the standard debug settings.

Test-plan:
Enable NFS trace debugging with flags 1, 2, or 4.  You should be able to
see different types of trace messages with each flag setting.

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