In message: <[EMAIL PROTECTED]> "Poul-Henning Kamp" <[EMAIL PROTECTED]> writes: : In message <[EMAIL PROTECTED]>, "M. Warner Losh" writes : : : : >: > Create a new quirk READ_CAPACITY_OFFBY1 : >: : >: A better idea would be to have scsi_da.c try to read the : >: last sector and chop it if it fails. : > : >Why is that a better idea? : : Because it will work automatically and not rely on us preventively : adding the bogus devices to the kernel. : : Trivially testable quicks shouldn't have to be compiled into : static lists.
Others have observed that the number of sectors on a disk should be even. Therefore if maxsectors returned is even, it implies an odd number of sectors and should be adjusted. That might be an even easier path to follow... I'm never sure when one can schedule additional I/O inside of cam... Warner _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"