pjd 2004-07-31 21:08:17 UTC
FreeBSD src repository
Handle spoil event in dedicated function: g_mirror_spoiled().
The different between the new function and g_mirror_orphan() (which was
used previously) is that syncid is bumped immediately, instead of on
first write, because when consumer was spoiled, it means, that its
provider was opened for writing, so we can't trust that its data
will be valid when it will be connected again.
Revision Changes Path
1.4 +17 -2 src/sys/geom/mirror/g_mirror.c