freebsd-dev/sys/ufs/ffs
Jeff Roberson f79d4144ab 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
2011-04-02 21:52:58 +00:00
..
ffs_alloc.c Add retry code analogous to the block allocation retry code 2011-03-23 05:13:54 +00:00
ffs_balloc.c - Merge soft-updates journaling from projects/suj/head into head. This 2010-04-24 07:05:35 +00:00
ffs_extern.h Add retry code analogous to the block allocation retry code 2011-03-23 05:13:54 +00:00
ffs_inode.c Add function lbn_offset to calculate offset of the indirect block of 2010-11-11 11:35:42 +00:00
ffs_rawread.c Put the general logic for being a CPU hog into a new function 2011-02-02 16:35:10 +00:00
ffs_snapshot.c Add some FEATURE macros for some UFS features. 2011-02-09 15:33:13 +00:00
ffs_softdep.c Fix problems that manifested from filesystem full conditions: 2011-04-02 21:52:58 +00:00
ffs_subr.c - Merge soft-updates journaling from projects/suj/head into head. This 2010-04-24 07:05:35 +00:00
ffs_tables.c
ffs_vfsops.c Retire opt_ffs_broken_fixme.h. 2011-03-20 21:05:09 +00:00
ffs_vnops.c - Handle the truncation of an inode with an effective link count of 0 in 2010-07-06 07:11:04 +00:00
fs.h Use the native sector size of the device backing the UFS volume for SU+J 2011-02-12 12:52:12 +00:00
softdep.h Move the definition of mkdirlisthd from header to C file. 2010-12-29 12:16:06 +00:00