cvs commit: src/sys/geom/mirror g_mirror.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Jul 31 14:08:18 PDT 2004


pjd         2004-07-31 21:08:17 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/mirror      g_mirror.c 
  Log:
  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


More information about the cvs-all mailing list