cvs commit: src/sys/ufs/ffs ffs_vnops.c src/sys/ufs/ufs ufs_vnops.c

Poul-Henning Kamp phk at FreeBSD.org
Tue Feb 8 15:54:31 GMT 2005


phk         2005-02-08 15:54:30 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_vnops.c 
    sys/ufs/ufs          ufs_vnops.c 
  Log:
  For snapshots we need all VOP_LOCKs to be exclusive.
  
  The "business class upgrade" was implemented in UFS's VOP_LOCK
  implementation ufs_lock() which is the wrong layer, so move it to
  ffs_lock().
  
  Also, as long as we have not abandonned advanced vfs-stacking we
  should not preclude it from happening: instead of implementing a
  copy locally, use the VOP_LOCK_APV(&ufs) to correctly arrive at
  vop_stdlock() at the bottom.
  
  Revision  Changes    Path
  1.149     +24 -0     src/sys/ufs/ffs/ffs_vnops.c
  1.263     +0 -29     src/sys/ufs/ufs/ufs_vnops.c


More information about the cvs-src mailing list