Date: Mon, 6 Dec 2004 08:31:33 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs.h nfs_lock.c nfs_lock.h nfs_nfsiod.c nfs_subs.c Message-ID: <200412060831.iB68VX5t058248@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2004-12-06 08:31:33 UTC FreeBSD src repository Modified files: sys/nfsclient nfs.h nfs_lock.c nfs_lock.h nfs_nfsiod.c nfs_subs.c Log: 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 Revision Changes Path 1.85 +0 -4 src/sys/nfsclient/nfs.h 1.40 +156 -58 src/sys/nfsclient/nfs_lock.c 1.6 +3 -3 src/sys/nfsclient/nfs_lock.h 1.83 +0 -13 src/sys/nfsclient/nfs_nfsiod.c 1.135 +0 -10 src/sys/nfsclient/nfs_subs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412060831.iB68VX5t058248>