[PATCH v2 5/6] scsi: increase upper limit for max_sectors

2014-06-02 Thread Akinobu Mita
max_sectors in struct Scsi_Host specifies maximum number of sectors allowed in a single SCSI command. The data type of max_sectors is unsigned short, so the maximum transfer length per SCSI command is limited to less than 256MB in 4096-bytes sector size. (0x * 4096) This commit increases the

Re: [PATCH v2 5/6] scsi: increase upper limit for max_sectors

2014-06-02 Thread Martin K. Petersen
Akinobu == Akinobu Mita akinobu.m...@gmail.com writes: Akinobu This commit increases the SCSI mid level's limitation for Akinobu max_sectors upto the block layer's limitation for Akinobu max_hw_sectors by extending the data type of max_sectors in Akinobu struct Scsi_Host and scsi_host_template,