diff options
author | phk <phk@FreeBSD.org> | 2004-12-06 08:31:32 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-12-06 08:31:32 +0000 |
commit | 753d615ec01e09d4509ce777a880341ea6feb39d (patch) | |
tree | 93ace8ca23553123c0dfd5066b9419aea9adb71e /sys/nfsclient/nfs.h | |
parent | b62f254b426d1e3871d394d61c4ae1997fca0a70 (diff) | |
download | FreeBSD-src-753d615ec01e09d4509ce777a880341ea6feb39d.zip FreeBSD-src-753d615ec01e09d4509ce777a880341ea6feb39d.tar.gz |
For reasons unknown, the nfs locking code used a fifo to send requests to
userland and a dedicated system call to get replies.
The vnode-bypass of fifos broke this into a panic.
Ditch all the magic and create a device /dev/nfslock instead, and
use that for both directions apart from the shorter path, this is
also faster because the device driver runs Giant free using the
vnode bypass.
Noticed by: marcel
Diffstat (limited to 'sys/nfsclient/nfs.h')
-rw-r--r-- | sys/nfsclient/nfs.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/nfsclient/nfs.h b/sys/nfsclient/nfs.h index 6be9001..7e79980 100644 --- a/sys/nfsclient/nfs.h +++ b/sys/nfsclient/nfs.h @@ -101,10 +101,6 @@ #ifdef NFS_NPROCS #include <nfsclient/nfsstats.h> #endif -/* - * Flags for nfsclnt() system call. - */ -#define NFSCLNT_LOCKDANS 0x200 /* * vfs.nfs sysctl(3) identifiers |