diff options
author | phk <phk@FreeBSD.org> | 2003-02-11 14:57:34 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-02-11 14:57:34 +0000 |
commit | fd7ea6d48a7d211946407c3e54e2eb37746d510a (patch) | |
tree | 9134449cbea5212847a4e75800cbaa03b04f0f69 /sys/geom/bde | |
parent | b2fb11897013800a76444ffcab5961680ac3f321 (diff) | |
download | FreeBSD-src-fd7ea6d48a7d211946407c3e54e2eb37746d510a.zip FreeBSD-src-fd7ea6d48a7d211946407c3e54e2eb37746d510a.tar.gz |
Better names for struct disk elements: d_maxsize, d_stripeoffset
and d_stripesisze;
Introduce si_stripesize and si_stripeoffset in struct cdev so we
can make the visible to clustering code.
Add stripesize and stripeoffset to providers.
DTRT with stripesize and stripeoffset in various places in GEOM.
Diffstat (limited to 'sys/geom/bde')
-rw-r--r-- | sys/geom/bde/g_bde.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/bde/g_bde.c b/sys/geom/bde/g_bde.c index 1f6f9cf..13fb280 100644 --- a/sys/geom/bde/g_bde.c +++ b/sys/geom/bde/g_bde.c @@ -248,6 +248,8 @@ g_bde_config(struct g_configargs *ga) g_topology_lock(); pp = g_new_providerf(gp, gp->name); pp->flags |= G_PF_CANDELETE; + pp->slicesize = kp->zone_cont; + pp->sliceoffset = 0; pp->mediasize = sc->mediasize; pp->sectorsize = sc->sectorsize; g_error_provider(pp, 0); |