From: Ed Cashin Date: Tue, 18 Dec 2012 00:03:49 +0000 (-0800) Subject: aoe: use high-resolution RTTs with fallback to low-res X-Git-Tag: v3.8-rc1~74^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f0c9c48e7265039c3f945aaf44a1c6ae8adbd01;p=pandora-kernel.git aoe: use high-resolution RTTs with fallback to low-res These changes improve the accuracy of the decision about whether it's time to retransmit an AoE command by using the microsecond-resolution gettimeofday instead of jiffies. Because the system time can jump suddenly, the decision reverts to using jiffies if the high-resolution time difference is relatively large. Otherwise the AoE targets could be considered failed inappropriately. Signed-off-by: Ed Cashin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed