On 05/03/13 20:23, James Bottomley wrote:
+ const unsigned long stall_for = min(msecs_to_jiffies(10), 1UL);
Hello James,
Can you please clarify what the intention of this statement is ? Is the
purpose of this statement to avoid that stall_for would be zero in case
HZ < 100 ? If that is the case, maybe you meant max() instead of min() ?
Also, are you aware that msecs_to_jiffies() already rounds up the result
of the division ?
Bart.
--
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