Change the maximum I/O transfer size to DFLTPHYS. This should fix
write corruption that some users were experiencing.
This commit is contained in:
parent
347b695801
commit
e6affa6696
@ -258,7 +258,7 @@ idattach(device_t dev)
|
||||
&id_cdevsw, &iddisk_cdevsw);
|
||||
|
||||
dsk->si_drv1 = drv;
|
||||
dsk->si_iosize_max = 256 * drv->secsize; /* XXX guess? */
|
||||
dsk->si_iosize_max = DFLTPHYS; /* XXX guess? */
|
||||
disks_registered++;
|
||||
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user