freebsd-dev/sys/geom/mirror
Pawel Jakub Dawidek 2fdf5be172 MFp4:
- Fix for good (I hope) force-stopping mirrors and some filure cases
  (e.g. the last good component dies when synchronization is in progress).
  Don't use ->nstart/->nend consumer's fields, as this could be racy,
  because those fields are used in g_down/g_up, use ->index consumer's
  field instead for tracking number of not finished requests.

  Reported by:	marcel

- After 5 seconds of idle time (this should be configurable) mark all
  dirty providers as clean, so when mirror is not used in 5 seconds
  and there will be power failure, no synchronization on boot is needed.

  Idea from:	sorry, I can't find who suggested this

- When there are no ACTIVE components and no NEW components destroy whole
  mirror, not only provider.

- Fix one debug to show information about I/O request, before we change
  its command.
2004-11-05 09:05:15 +00:00
..
g_mirror_ctl.c Forgot to commit those: introduce hardcoded provider functionality, 2004-08-10 19:52:12 +00:00
g_mirror.c MFp4: 2004-11-05 09:05:15 +00:00
g_mirror.h MFp4: 2004-11-05 09:05:15 +00:00