]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check disk->d_maxsize/dev->si_iosize_max at open time rather than in strategy.
authorPoul-Henning Kamp <phk@FreeBSD.org>
Tue, 11 Feb 2003 21:23:34 +0000 (21:23 +0000)
committerPoul-Henning Kamp <phk@FreeBSD.org>
Tue, 11 Feb 2003 21:23:34 +0000 (21:23 +0000)
commit99af707c394f6fe3b202ea4356c44d1c891e9007
treef64c445b9591219b4c39573cd0866a76241df152
parent1e35598c3acca1a40d1852bfb4a8d3db6ecf194b
Check disk->d_maxsize/dev->si_iosize_max at open time rather than in strategy.

Printf a warning and use DFLTPHYS if the drive has not set a size.
sys/geom/geom_disk.c