]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Handle spoil event in dedicated function: g_mirror_spoiled().
authorpjd <pjd@FreeBSD.org>
Sat, 31 Jul 2004 21:08:17 +0000 (21:08 +0000)
committerpjd <pjd@FreeBSD.org>
Sat, 31 Jul 2004 21:08:17 +0000 (21:08 +0000)
commite0a971d6d49e38038831751385b0647c72460f0a
treee708c2edd8e710b70edfed4eab5b8329e807850b
parente5cc9c9fa27d84b3000ffcac2983d334b263c2db
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.
sys/geom/mirror/g_mirror.c