initialize si_bsize_phys from what the drive told us.

This commit is contained in:
Poul-Henning Kamp 1999-08-29 09:10:05 +00:00
parent d137accc89
commit 83d34e0b60

View File

@ -709,7 +709,7 @@ dsopen(dev, mode, flags, sspp, lp)
struct diskslices *ssp;
int unit;
dev->si_bsize_phys = DEV_BSIZE;
dev->si_bsize_phys = lp->d_secsize;
dev->si_bsize_best = BLKDEV_IOSIZE;
dev->si_bsize_max = MAXBSIZE;