diff options
author | le <le@FreeBSD.org> | 2004-06-23 23:52:55 +0000 |
---|---|---|
committer | le <le@FreeBSD.org> | 2004-06-23 23:52:55 +0000 |
commit | 9eb205c8da3ccebfc8dc3c923d5a0571cb5c528f (patch) | |
tree | 74cd4c748586cf1a9aebc23b58ba1c8d4c8be9d6 /sys/geom/vinum/geom_vinum_raid5.h | |
parent | 30666d1f0f431b581eeacc45735ff41d85d27c23 (diff) | |
download | FreeBSD-src-9eb205c8da3ccebfc8dc3c923d5a0571cb5c528f.zip FreeBSD-src-9eb205c8da3ccebfc8dc3c923d5a0571cb5c528f.tar.gz |
Add a function to clean up RAID5 packets and use it when I/O has
finished or when building the complete packet fails.
Diffstat (limited to 'sys/geom/vinum/geom_vinum_raid5.h')
-rw-r--r-- | sys/geom/vinum/geom_vinum_raid5.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/vinum/geom_vinum_raid5.h b/sys/geom/vinum/geom_vinum_raid5.h index c43cb10..454311f 100644 --- a/sys/geom/vinum/geom_vinum_raid5.h +++ b/sys/geom/vinum/geom_vinum_raid5.h @@ -85,6 +85,7 @@ struct gv_raid5_packet { int gv_build_raid5_req(struct gv_raid5_packet *, struct bio *, caddr_t, long, off_t); +void gv_free_raid5_packet(struct gv_raid5_packet *); void gv_raid5_done(struct bio *); void gv_raid5_worker(void *); struct gv_raid5_packet *gv_new_raid5_packet(void); |