On Tue, Sep 28 2010 at 2:48pm -0400, Martin K. Petersen <martin.petersen@xxxxxxxxxx> wrote: > >>>>> "Jens" == Jens Axboe <jaxboe@xxxxxxxxxxxx> writes: > > Jens> With the revised understanding that this is purely the IO hint, > Jens> then yes I agree we should not clamp it. > > Ok, here's an updated sd patch that does not print a warning... > > > sd: Fix overflow with big physical blocks > > The hw_sector_size variable could overflow if a device reported huge > physical blocks. Switch to the more accurate physical_block_size > terminology and make sure we use an unsigned int to match the range > permitted by READ CAPACITY(16). > > Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> Acked-by: Mike Snitzer <snitzer@xxxxxxxxxx> Thanks Martin. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html