diff options
author | pjd <pjd@FreeBSD.org> | 2004-12-23 21:15:15 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-12-23 21:15:15 +0000 |
commit | 9efcf672b9f823222fad15fabe1bb7d9f410b9c9 (patch) | |
tree | e390abd2333b233c80b984655434f86563a3bf97 /sys/geom | |
parent | f79ca8546cde4ec274482bbfb1c1cd64a5bbb2e1 (diff) | |
download | FreeBSD-src-9efcf672b9f823222fad15fabe1bb7d9f410b9c9.zip FreeBSD-src-9efcf672b9f823222fad15fabe1bb7d9f410b9c9.tar.gz |
Update disk->d_genid field when increasing sc->sc_genid.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/mirror/g_mirror.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c index 6e9f4f2..7725722 100644 --- a/sys/geom/mirror/g_mirror.c +++ b/sys/geom/mirror/g_mirror.c @@ -757,6 +757,7 @@ g_mirror_bump_genid(struct g_mirror_softc *sc) LIST_FOREACH(disk, &sc->sc_disks, d_next) { if (disk->d_state == G_MIRROR_DISK_STATE_ACTIVE || disk->d_state == G_MIRROR_DISK_STATE_SYNCHRONIZING) { + disk->d_genid = sc->sc_genid; g_mirror_update_metadata(disk); } } |