diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 1999-10-02 20:21:49 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 1999-10-02 20:21:49 +0000 |
| commit | dc722a14c7f5e5046ca9d6cdf28bc42063909c1c (patch) | |
| tree | 709645141b5020b5aa7f741e7f41d9382151b41c /sys/kern/kern_physio.c | |
| parent | 9f050ed5979e4beeaa9d0c2d57d39acb388ba7d5 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_physio.c')
| -rw-r--r-- | sys/kern/kern_physio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c index 6bf3e7f4b828..95ffc9286e42 100644 --- a/sys/kern/kern_physio.c +++ b/sys/kern/kern_physio.c @@ -178,6 +178,7 @@ minphys(bp) if(!maxphys) { printf("WARNING: %s maxphys = 0 ??", devtoname(bp->b_dev)); maxphys = DFLTPHYS; + bp->b_dev->si_iosize_max = DFLTPHYS; } if (bp->b_kvasize && (bp->b_kvasize < maxphys)) maxphys = bp->b_kvasize; |
