summaryrefslogtreecommitdiffstats
path: root/sys/sys/disk.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-11 14:57:34 +0000
committerphk <phk@FreeBSD.org>2003-02-11 14:57:34 +0000
commitfd7ea6d48a7d211946407c3e54e2eb37746d510a (patch)
tree9134449cbea5212847a4e75800cbaa03b04f0f69 /sys/sys/disk.h
parentb2fb11897013800a76444ffcab5961680ac3f321 (diff)
downloadFreeBSD-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/sys/disk.h')
-rw-r--r--sys/sys/disk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/disk.h b/sys/sys/disk.h
index e84c427..c9b1b85 100644
--- a/sys/sys/disk.h
+++ b/sys/sys/disk.h
@@ -58,9 +58,9 @@ struct disk {
off_t d_mediasize;
u_int d_fwsectors;
u_int d_fwheads;
- u_int d_stripe_offset;
- u_int d_stripe_width;
- u_int d_max_request;
+ u_int d_maxsize;
+ u_int d_stripeoffset;
+ u_int d_stripesize;
/* Fields private to the driver */
void *d_drv1;
OpenPOWER on IntegriCloud