HAMMER - Fix broken assertion
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 8 Nov 2010 20:00:29 +0000 (12:00 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 8 Nov 2010 20:00:29 +0000 (12:00 -0800)
commite3c8589cf87683a44e2377b25d0ebed99124e275
treeab3a3dc1ca78b7822c4c9eff79adb64aa6a1cf83
parent289b190e24bfa95a87c7f2ee6b058e52a6ca05be
HAMMER - Fix broken assertion

* An assertion related to validating the flush group was not quite
  correct and causing fsstress panics with nohistory mounts.

* Fixed the assertion to allow a directory's flush group to be different
  from an underlying directory entry.  Directory records can be flushed
  independent of the directory inode itself, particularly under stressful
  conditions where the aggregate flush winds up being too large for the
  buffer cache to handle and has to be split up.

Reported-by: Sascha Wildner <saw@online.de>
sys/vfs/hammer/hammer_inode.c