Date: Wed, 27 Apr 2011 18:19:26 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/rpc clnt.h clnt_rc.c clnt_vc.c rpcb_clnt.c Message-ID: <201104271819.p3RIJf2L089061@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2011-04-27 18:19:26 UTC
FreeBSD src repository
Modified files:
sys/rpc clnt.h clnt_rc.c clnt_vc.c rpcb_clnt.c
Log:
SVN rev 221127 on 2011-04-27 18:19:26Z by rmacklem
This patch is believed to fix a problem in the kernel rpc for
non-interruptible NFS mounts, where a kernel thread will seem
to be stuck sleeping on "rpccon". The msleep() in clnt_vc_create()
that was waiting to a TCP connect to complete would return ERESTART,
since PCATCH was specified. Then the tsleep() in clnt_reconnect_call()
would sleep for 1 second and then try again and again and...
The patch changes the msleep() in clnt_vc_create() so it only sets
the PCATCH flag for interruptible cases.
Tested by: pho
Reviewed by: jhb
MFC after: 2 weeks
Revision Changes Path
1.4 +2 -1 src/sys/rpc/clnt.h
1.12 +1 -1 src/sys/rpc/clnt_rc.c
1.15 +7 -3 src/sys/rpc/clnt_vc.c
1.4 +1 -1 src/sys/rpc/rpcb_clnt.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104271819.p3RIJf2L089061>
