Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2011 17:09:15 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/umount umount.8 umount.c src/sys/nfsclient nfs_vfsops.c
Message-ID:  <201107131710.p6DHAcub013464@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
sbruno      2011-07-13 17:09:15 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sbin/umount          umount.8 umount.c 
    sys/nfsclient        nfs_vfsops.c 
  Log:
  SVN rev 223982 on 2011-07-13 17:09:15Z by sbruno
  
  MFC r222541, r222464, r222466
  
  Modify the umount(8) command so that it doesn't do
  a sync(2) syscall before unmount(2) for the "-f" case.
  This avoids a forced dismount from getting stuck for
  an NFS mountpoint in sync() when the server is not
  responsive. With this commit, forced dismounts should
  normally work for the NFS clients, but can take up to
  about 1minute to complete.
  
  Add a check for MNTK_UNMOUNTF at the beginning of nfs_sync()
  in the old NFS client so that a forced dismount doesn't
  get stuck in the VFS_SYNC() call that happens before
  VFS_UNMOUNT() in dounmount(). Analagous to r222329 for the new NFS client.
  An additional change is needed before forced dismounts will work.
  
  Add a sentence to the umount.8 man page to clarify the behaviour
  for forced dismount when used on an NFS mount point. Requested by
  Jeremy Chadwick.
  This is a content change
  
  Revision   Changes    Path
  1.20.18.1  +4 -1      src/sbin/umount/umount.8
  1.45.10.1  +3 -3      src/sbin/umount/umount.c
  1.193.2.8  +10 -1     src/sys/nfsclient/nfs_vfsops.c



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