freebsd-dev/sys/fs/nfsserver
Zack Kirsch a9285ae5c4 Add DEXITCODE plumbing to NFS.
Isilon has the concept of an in-memory exit-code ring that saves the last exit
code of a function and allows for stack tracing. This is very helpful when
debugging tough issues.

This patch is essentially a no-op for BSD at this point, until we upstream
the dexitcode logic itself. The patch adds DEXITCODE calls to every NFS
function that returns an errno error code. A number of code paths were also
reorganized to have single exit paths, to reduce code duplication.

Submitted by:   David Kwan <dkwan@isilon.com>
Reviewed by:    rmacklem
Approved by:    zml (mentor)
MFC after:      2 weeks
2011-07-16 08:51:09 +00:00
..
nfs_nfsdcache.c Add DEXITCODE plumbing to NFS. 2011-07-16 08:51:09 +00:00
nfs_nfsdkrpc.c Add DEXITCODE plumbing to NFS. 2011-07-16 08:51:09 +00:00
nfs_nfsdport.c Add DEXITCODE plumbing to NFS. 2011-07-16 08:51:09 +00:00
nfs_nfsdserv.c Add DEXITCODE plumbing to NFS. 2011-07-16 08:51:09 +00:00
nfs_nfsdsocket.c Add DEXITCODE plumbing to NFS. 2011-07-16 08:51:09 +00:00
nfs_nfsdstate.c Add DEXITCODE plumbing to NFS. 2011-07-16 08:51:09 +00:00
nfs_nfsdsubs.c Add DEXITCODE plumbing to NFS. 2011-07-16 08:51:09 +00:00