Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 18:06:44 -0700 (PDT)
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_mount.c
Message-ID:  <200210220106.g9M16iAk049661@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mckusick    2002/10/21 18:06:44 PDT

  Modified files:
    sys/kern             vfs_mount.c 
  Log:
  This update removes a race between unmount and lookup. The lookup
  locks the mount point directory while waiting for vfs_busy to clear.
  Meanwhile the unmount which holds the vfs_busy lock tried to lock
  the mount point vnode. The fix is to observe that it is safe for the
  unmount to remove the vnode from the mount point without locking it.
  The lookup will wait for the unmount to complete, then recheck the
  mount point when the vfs_busy lock clears.
  
  Sponsored by:   DARPA & NAI Labs.
  
  Revision  Changes    Path
  1.87      +1 -4      src/sys/kern/vfs_mount.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?200210220106.g9M16iAk049661>