Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2009 20:59:50 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_extern.h ffs_softdep.c ffs_vfsops.c
Message-ID:  <200902142059.n1EKxvID048985@repoman.freebsd.org>

index | next in thread | raw e-mail

kib         2009-02-14 20:59:50 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/ufs/ffs          ffs_extern.h ffs_softdep.c ffs_vfsops.c 
  Log:
  SVN rev 188611 on 2009-02-14 20:59:50Z by kib
  
  MFC r182365:
  Softdep code may need to instantiate vnode when processing
  dependencies. In particular, it may need this while syncing filesystem
  being unmounted. Since during unmount MNTK_NOINSMNTQUE flag is set,
  that could sometimes disallow insertion of the vnode into the vnode
  mount list, softdep code needs to overwrite the MNTK_NOINSMNTQUE flag.
  
  Create the ffs_vgetf() function that sets the VV_FORCEINSMQ flag for
  new vnode and use it consistently from the softdep code instead of
  ffs_vget().
  
  Add the retry logic to the softdep_flushfiles() to flush the vnodes
  that could be instantiated while flushing softdep dependencies.
  
  Revision   Changes    Path
  1.74.2.2   +3 -0      src/sys/ufs/ffs/ffs_extern.h
  1.211.2.6  +42 -15    src/sys/ufs/ffs/ffs_softdep.c
  1.329.2.7  +15 -1     src/sys/ufs/ffs/ffs_vfsops.c


help

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