diff options
author | grog <grog@FreeBSD.org> | 2003-05-05 08:43:15 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2003-05-05 08:43:15 +0000 |
commit | 09dfe669b902ed1922f06b629b7f8319ef263013 (patch) | |
tree | 5833aeccd5d758498c3f3fc44f5e6844711c590d /sys/dev/vinum | |
parent | 92d716447b230228f33ab513b47a2e94a2fce3cc (diff) | |
download | FreeBSD-src-09dfe669b902ed1922f06b629b7f8319ef263013.zip FreeBSD-src-09dfe669b902ed1922f06b629b7f8319ef263013.tar.gz |
Add sector size member to subdisk, plex and volume objects.
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r-- | sys/dev/vinum/vinumobj.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumobj.h b/sys/dev/vinum/vinumobj.h index 1ea1f1a..7fe1bca 100644 --- a/sys/dev/vinum/vinumobj.h +++ b/sys/dev/vinum/vinumobj.h @@ -207,6 +207,7 @@ struct _sd */ int64_t plexoffset; /* offset in plex */ u_int64_t sectors; /* and length in sectors */ + int sectorsize; /* sector size for DIOCGSECTORSIZE */ int plexno; /* index of plex, if it belongs */ int driveno; /* index of the drive on which it is located */ int sdno; /* our index in vinum_conf */ @@ -242,6 +243,7 @@ struct _plex u_int64_t length; /* total length of plex (sectors) */ int flags; int stripesize; /* size of stripe or raid band, in sectors */ + int sectorsize; /* sector size for DIOCGSECTORSIZE */ int subdisks; /* number of associated subdisks */ int subdisks_allocated; /* number of subdisks allocated space for */ int *sdnos; /* list of component subdisks */ @@ -292,6 +294,7 @@ struct _volume int openflags; /* flags supplied to last open(2) */ u_int64_t size; /* size of volume */ int blocksize; /* logical block size */ + int sectorsize; /* sector size for DIOCGSECTORSIZE */ int active; /* number of outstanding requests active */ int subops; /* and the number of suboperations */ /* Statistics */ |