aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2016-04-14 05:10:41 +0000
committerWarner Losh <imp@FreeBSD.org>2016-04-14 05:10:41 +0000
commit9a8fa125c1254266563fb16e3c94e4c677906121 (patch)
tree771261487fac0e42311b4cbdb99207d4ce303902 /sys/sys/bio.h
parentbd3bce41db1e29fb96124a57e89d02e56c4c242b (diff)
downloadsrc-9a8fa125c1254266563fb16e3c94e4c677906121.tar.gz
src-9a8fa125c1254266563fb16e3c94e4c677906121.zip
Bump bio_cmd and bio_*flags from 8 bits to 16.
Differential Revision: https://reviews.freebsd.org/D5784
Notes
Notes: svn path=/head/; revision=297955
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 8b3a5fcb6a37..37fefbfc37bd 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -77,10 +77,10 @@ typedef void bio_task_t(void *);
* The bio structure describes an I/O operation in the kernel.
*/
struct bio {
- uint8_t bio_cmd; /* I/O operation. */
- uint8_t bio_flags; /* General flags. */
- uint8_t bio_cflags; /* Private use by the consumer. */
- uint8_t bio_pflags; /* Private use by the provider. */
+ uint16_t bio_cmd; /* I/O operation. */
+ uint16_t bio_flags; /* General flags. */
+ uint16_t bio_cflags; /* Private use by the consumer. */
+ uint16_t bio_pflags; /* Private use by the provider. */
struct cdev *bio_dev; /* Device to do I/O on. */
struct disk *bio_disk; /* Valid below geom_disk.c only */
off_t bio_offset; /* Offset into file. */