HAMMER 16B/many: Fix data overwrite case.
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 9 Jan 2008 04:05:37 +0000 (04:05 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 9 Jan 2008 04:05:37 +0000 (04:05 +0000)
commit0a72edae664cad814539641857083615d76748e1
tree61f91ada5d7c9161b2b7c68ed22187d5c18d05d7
parent4d75d8290a08a2a8661b2883f983e1bcd3d7470e
HAMMER 16B/many: Fix data overwrite case.

HAMMER will often write out data records for an inode before writing out
the newly created inode itself.  This is desireable because it allows
HAMMER to avoid replacing the on-disk inode record every time the file
size changes.

Fix a bug related to this issue where HAMMER was not checking for on-disk
data records in the data overwrite case prior to the inode being written
out.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_object.c