Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2005 10:07:15 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_lookup.c
Message-ID:  <200503291007.j2TA7FjG026078@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2005-03-29 10:07:15 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_lookup.c 
  Log:
   - Set cn_lkflags to LK_SHARED in the LOOKUP_SHARED case so that we only
     acquire shared locks on intermediate directories.
   - For the LASTCN, we may have to LK_UPGRADE the parent directory before
     we lookup the last component.
   - Acquire VFS_ROOT and dp locks based on the cn_lkflag.
  
  Sponsored by:   Isilon Systems, Inc.
  
  Revision  Changes    Path
  1.75      +29 -5     src/sys/kern/vfs_lookup.c



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