Re: [PATCH 3/4] scsi: increase upper limit for max_sectors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux