Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2011 00:25:19 +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:  <201105150025.p4F0PcKR036080@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105150025.p4F0PcKR036080>