summaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoechr.c
diff options
context:
space:
mode:
authorEd Cashin <ecashin@coraid.com>2012-12-18 01:03:49 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 02:15:24 +0100
commit5f0c9c48e7265039c3f945aaf44a1c6ae8adbd01 (patch)
tree2eb73358dc9ad58dce32dd40ceb0fbc938d915d4 /drivers/block/aoe/aoechr.c
parentaoe: manipulate aoedev network stats under lock (diff)
downloadlinux-5f0c9c48e7265039c3f945aaf44a1c6ae8adbd01.tar.xz
linux-5f0c9c48e7265039c3f945aaf44a1c6ae8adbd01.zip
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 <ecashin@coraid.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/aoe/aoechr.c')
0 files changed, 0 insertions, 0 deletions