From owner-cvs-src-old@FreeBSD.ORG Sun May 15 00:25:38 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C46A10657B0 for ; Sun, 15 May 2011 00:25:38 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6A06C8FC16 for ; Sun, 15 May 2011 00:25:38 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p4F0PcU2036081 for ; Sun, 15 May 2011 00:25:38 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p4F0PcKR036080 for cvs-src-old@freebsd.org; Sun, 15 May 2011 00:25:38 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <201105150025.p4F0PcKR036080@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Sun, 15 May 2011 00:25:19 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/rpc clnt.h clnt_rc.c clnt_vc.c rpcb_clnt.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2011 00:25:38 -0000 rmacklem 2011-05-15 00:25:19 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/rpc clnt.h clnt_rc.c clnt_vc.c rpcb_clnt.c Log: SVN rev 221934 on 2011-05-15 00:25:19Z by rmacklem MFC: r221127 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. Revision Changes Path 1.3.2.2 +2 -1 src/sys/rpc/clnt.h 1.10.2.3 +1 -1 src/sys/rpc/clnt_rc.c 1.8.2.8 +7 -3 src/sys/rpc/clnt_vc.c 1.3.2.2 +1 -1 src/sys/rpc/rpcb_clnt.c