DragonFly commits List (threaded) for 2009-04
DragonFly-220.127.116.113.gf968 master sys/vfs/hammer hammer_mirror.c
Author: Matthew Dillon <email@example.com>
Date: Tue Apr 7 16:03:24 2009 -0700
HAMMER VFS - Fix edge case in mirroring code.
There is an edge case where a record is physically destroyed on the master
and a mirroring or mirror-streaming operation attempts to delete the record
on the slave using a mirror-end TID that in fact matches the create_tid of
the record. This results in a protective panic.
Fix the problem simply by not deleting such edge-case records. They will
be deleted in the next pass, since in order to have been destroyed on the
master the master must have done the operation with a larger TID then
the create_tid of the record that was destroyed.
Reported-by: Brad Frank <firstname.lastname@example.org>
Summary of changes:
sys/vfs/hammer/hammer_mirror.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
DragonFly BSD source repository