On Thu, Aug 06, 2020 at 05:28:17PM -0700, Bart Van Assche wrote: > I think we agree that get_max_io_size() should never return zero. However, the above > change seems wrong to me because it will cause get_max_io_size() to return zero if > the logical block size is larger than 512 bytes and if sectors < lbs. I'm pretty sure we have more problems if 'sectors' isn't a multiple of the logical block size.