Date: Fri, 12 Oct 2007 19:18:46 +0000 (UTC) From: Mohan Srinivasan <mohans@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs.h nfs_socket.c nfs_subs.c nfsmount.h Message-ID: <200710121918.l9CJIkc7086225@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mohans 2007-10-12 19:18:46 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/nfsclient nfs.h nfs_socket.c nfs_subs.c nfsmount.h
Log:
MFC:
NFS MP scaling changes.
- Eliminate the hideous nfs_sndlock that serialized NFS/TCP request senders
thru the sndlock.
- Institute a new nfs_connectlock that serializes NFS/TCP reconnects. Add
logic to wait for pending request senders to finish sending before
reconnecting. Dial down the sb_timeo for NFS/TCP sockets to 1 sec.
- Break out the nfs xid manipulation under a new nfs xid lock, rather than
over loading the nfs request lock for this purpose.
- Fix some of the locking in nfs_request.
Many thanks to Kris Kennaway for his help with this and for initiating the
MP scaling analysis and work. Kris also tested this patch thorougly.
Approved by: re@ (Ken Smith)
Revision Changes Path
1.98.2.1 +2 -2 src/sys/nfsclient/nfs.h
1.154.2.1 +123 -71 src/sys/nfsclient/nfs_socket.c
1.146.2.1 +4 -2 src/sys/nfsclient/nfs_subs.c
1.32.2.1 +2 -0 src/sys/nfsclient/nfsmount.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710121918.l9CJIkc7086225>
