initialize si_bsize_phys from what the drive told us.
This commit is contained in:
parent
d137accc89
commit
83d34e0b60
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user