2014-05-29 1:18 GMT+09:00 Elliott, Robert (Server Storage) <Elliott@xxxxxx>: > >> -----Original Message----- >> From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi- >> owner@xxxxxxxxxxxxxxx] On Behalf Of Akinobu Mita >> Sent: Sunday, 25 May, 2014 7:44 AM >> To: linux-scsi@xxxxxxxxxxxxxxx >> Cc: Akinobu Mita; Jens Axboe; James E.J. Bottomley; Douglas Gilbert >> Subject: [PATCH 3/4] scsi: increase upper limit for max_sectors >> > ... >> - } else if (sdp->use_16_for_rw) { >> + } else if ((this_count > 0xffff) || sdp->use_16_for_rw) { > > Suggestion: reorder those so the unlikely case of a huge > this_count is on the right side of the || operator. No problem. I'll make this change in the next version. Thanks for your suggestion. -- 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