summaryrefslogtreecommitdiffstats
path: root/sys/sys/conf.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-20 19:57:28 +0000
committerphk <phk@FreeBSD.org>1999-09-20 19:57:28 +0000
commit3ea30afc2df519befce9b302ed4959d17a6392e6 (patch)
treef5b84884151162e62383cc75887209758a02a78c /sys/sys/conf.h
parentc0818069f7d5c0aa756e24c5d4605e5c1da60edc (diff)
downloadFreeBSD-src-3ea30afc2df519befce9b302ed4959d17a6392e6.zip
FreeBSD-src-3ea30afc2df519befce9b302ed4959d17a6392e6.tar.gz
Step one of replacing devsw->d_maxio with si_bsize_max.
Rename dev->si_bsize_max to si_iosize_max and set it in spec_open if the device didn't. Set vp->v_maxio from dev->si_bsize_max in spec_open rather than in ufs_bmap.c
Diffstat (limited to 'sys/sys/conf.h')
-rw-r--r--sys/sys/conf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index 156a192..1f44b6b 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -70,7 +70,7 @@ struct specinfo {
struct mount *__sid_mountpoint;
int __sid_bsize_phys; /* min physical block size */
int __sid_bsize_best; /* optimal block size */
- int __sid_bsize_max; /* maximum block size */
+ int __sid_iosize_max; /* maximum I/O size */
} __si_disk;
} __si_u;
};
@@ -80,7 +80,7 @@ struct specinfo {
#define si_mountpoint __si_u.__si_disk.__sid_mountpoint
#define si_bsize_phys __si_u.__si_disk.__sid_bsize_phys
#define si_bsize_best __si_u.__si_disk.__sid_bsize_best
-#define si_bsize_max __si_u.__si_disk.__sid_bsize_max
+#define si_iosize_max __si_u.__si_disk.__sid_iosize_max
/*
* Exported shorthand
OpenPOWER on IntegriCloud