Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2000 00:26:42 -0700 (PDT)
From:      Boris Popov <bp@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_cache.c vfs_lookup.c src/sys/sys namei.h src/sys/ufs/ufs ufs_lookup.c
Message-ID:  <200009170726.AAA43768@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bp          2000/09/17 00:26:42 PDT

  Modified files:
    sys/kern             vfs_cache.c vfs_lookup.c 
    sys/sys              namei.h 
    sys/ufs/ufs          ufs_lookup.c 
  Log:
  Add new flag PDIRUNLOCK to the component.cn_flags which should be set by
  filesystem lookup() routine if it unlocks parent directory. This flag should
  be carefully tracked by filesystems if they want to work properly with nullfs
  and other stacked filesystems.
  
  VFS takes advantage of this flag to perform symantically correct usage
  of vrele() instead of vput() if parent directory already unlocked.
  
  If filesystem fails to track this flag then previous codepath in VFS left
  unchanged.
  
  Convert UFS code to set PDIRUNLOCK flag if necessary. Other filesystmes will
  be changed after some period of testing.
  
  Reviewed in general by:	mckusick, dillon, adrian
  Obtained from:	NetBSD
  
  Revision  Changes    Path
  1.49      +19 -8     src/sys/kern/vfs_cache.c
  1.40      +8 -3      src/sys/kern/vfs_lookup.c
  1.30      +2 -1      src/sys/sys/namei.h
  1.39      +31 -14    src/sys/ufs/ufs/ufs_lookup.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?200009170726.AAA43768>