diff options
author | Matthew Dillon <dillon@FreeBSD.org> | 1999-09-22 04:11:55 +0000 |
---|---|---|
committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-09-22 04:11:55 +0000 |
commit | a59d364a23cc9c69b00c3111d78cfaa7abce00d3 (patch) | |
tree | 9d1dbd471f91c2e087238ecc95ef581191da252c /sys/alpha | |
parent | 735ce767c781bc19d64ef39712bad7c28f16ed08 (diff) | |
download | src-a59d364a23cc9c69b00c3111d78cfaa7abce00d3.tar.gz src-a59d364a23cc9c69b00c3111d78cfaa7abce00d3.zip |
Change default block size for user VBLK device access from 2K to PAGE_SIZE
(4K on an i386, 8K on an alpha).
Make BLKDEV_IOSIZE, DFLTPHYS, and MAXPHYS kernel-configurable.
Notes
Notes:
svn path=/head/; revision=51528
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/include/param.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h index 873ea8504b4f..2bb660ca4cb7 100644 --- a/sys/alpha/include/param.h +++ b/sys/alpha/include/param.h @@ -98,9 +98,16 @@ #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ #define DEV_BSIZE (1<<DEV_BSHIFT) -#define BLKDEV_IOSIZE 2048 +#ifndef BLKDEV_IOSIZE +#define BLKDEV_IOSIZE PAGE_SIZE /* default block device I/O size */ +#endif + +#ifndef DFLTPHYS #define DFLTPHYS (64 * 1024) /* default max raw I/O transfer size */ +#endif +#ifndef MAXPHYS #define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ +#endif #define CLSIZE 1 #define CLSIZELOG2 0 |