Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2002 18:15:35 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsclient nfs_socket.c
Message-ID:  <200201100215.g0A2FZm66862@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2002/01/09 18:15:35 PST

  Modified files:
    sys/nfsclient        nfs_socket.c 
  Log:
  Terminate requests in nfs_sigintr() if the filesystem is in the
  process of being unmounted. This allows forced NFS unmounts to
  complete even if there are processes stuck holding the mnt_lock
  while the server is down. The mechanism is not ideal in that there
  is a small chance we might accidentally cancel requests during a
  failed non-forced unmount attempt on that filesystem, but this
  is not really a big problem.
  
  Also, move the tsleep() in nfs_nmcancelreqs() so that we do not
  sleep in the case where there are no requests to be cancelled.
  
  Revision  Changes    Path
  1.75      +4 -1      src/sys/nfsclient/nfs_socket.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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