Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2011 21:52:58 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_softdep.c
Message-ID:  <201104022153.p32LrHDq075633@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2011-04-02 21:52:58 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_softdep.c 
  Log:
  SVN rev 220282 on 2011-04-02 21:52:58Z by jeff
  
  Fix problems that manifested from filesystem full conditions:
  
   - In softdep_revert_mkdir() find the dotaddref before we attempt to cancel
     the jaddref so we can make assumptions about where the dotaddref is on
     the list.  cancel_jaddref() does not always remove items from the list
     anymore.
   - Always set GOINGAWAY on an inode in softdep_freefile() if DEPCOMPLETE
     was never set.  This ensures that dependencies will continue to be
     processed on the inowait/bufwait list and is more an artifact of
     the structure of the code than a pure ordering problem.
   - Always set DEPCOMPLETE on canceled jaddrefs so that they can be freed
     appropriately.  This normally occurs when the refs are added to the
     journal but if they are canceled before this point the state would
     never be set and the dependency could never be freed.
  
  Reported by:    pho
  Tested by:      pho
  
  Revision  Changes    Path
  1.270     +14 -9     src/sys/ufs/ffs/ffs_softdep.c



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