summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-05 20:17:45 +0000
committerphk <phk@FreeBSD.org>2003-02-05 20:17:45 +0000
commit2ccf73eb01bcca438145c8d1af38f97eee8e4136 (patch)
treeece5b678fc8ffce3d77543037a0631ccbeebb3f5
parentc142aa48bd103bdbb9a10bddbe4c1de1c68d38ed (diff)
downloadFreeBSD-src-2ccf73eb01bcca438145c8d1af38f97eee8e4136.zip
FreeBSD-src-2ccf73eb01bcca438145c8d1af38f97eee8e4136.tar.gz
Add three more properties to struct disk: Stripe offset and width
and max request size. These will be used to optimize our clustering behaviour.
-rw-r--r--sys/sys/disk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/disk.h b/sys/sys/disk.h
index 25aa4af..0149b15 100644
--- a/sys/sys/disk.h
+++ b/sys/sys/disk.h
@@ -42,6 +42,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;
struct g_geom *d_softc;
};
OpenPOWER on IntegriCloud