On Fri, Feb 08, 2019 at 06:41:47PM -0500, Martin K. Petersen wrote:
It was reported that some devices report an OPTIMAL TRANSFER LENGTH of 0xFFFF blocks. That looks bogus, especially for a device with a 4096-byte physical block size.
Ignore OPTIMAL TRANSFER LENGTH if it is not a multiple of the device's reported physical block size.
Looks generally fine, but should we log a warning in case of a bogus OPTIMAL TRANSFER LENGTH?