summaryrefslogtreecommitdiffstats
path: root/sys/geom/vinum/geom_vinum_raid5.h
diff options
context:
space:
mode:
authorle <le@FreeBSD.org>2004-09-30 12:57:35 +0000
committerle <le@FreeBSD.org>2004-09-30 12:57:35 +0000
commitada7c51edc72a4c9783343b1af3a2335f448baed (patch)
tree6a80fd9dd1fc6bc23ae20575319c461f4e1c54ec /sys/geom/vinum/geom_vinum_raid5.h
parentb0a3fc4cda4ac786b04578ff6fe1a009fd38f6e5 (diff)
downloadFreeBSD-src-ada7c51edc72a4c9783343b1af3a2335f448baed.zip
FreeBSD-src-ada7c51edc72a4c9783343b1af3a2335f448baed.tar.gz
Make it possible to rebuild degraded RAID5 plexes. Note that it is
currently not possible to do this while the volume is mounted. MFC in: 1 week
Diffstat (limited to 'sys/geom/vinum/geom_vinum_raid5.h')
-rw-r--r--sys/geom/vinum/geom_vinum_raid5.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/vinum/geom_vinum_raid5.h b/sys/geom/vinum/geom_vinum_raid5.h
index 8074f42..212f6c6 100644
--- a/sys/geom/vinum/geom_vinum_raid5.h
+++ b/sys/geom/vinum/geom_vinum_raid5.h
@@ -67,6 +67,8 @@ struct gv_raid5_packet {
int gv_stripe_active(struct gv_plex *, struct bio *);
int gv_build_raid5_req(struct gv_plex *, struct gv_raid5_packet *,
struct bio *, caddr_t, off_t, off_t);
+int gv_rebuild_raid5(struct gv_plex *, struct gv_raid5_packet *,
+ struct bio *, caddr_t, off_t, off_t);
void gv_raid5_worker(void *);
void gv_plex_done(struct bio *);
OpenPOWER on IntegriCloud