aoe: update cap on outstanding commands based on config query response
authorEd Cashin <ecashin@coraid.com>
Tue, 18 Dec 2012 00:03:29 +0000 (16:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:23 +0000 (17:15 -0800)
commit1b8a1636ceea573b1d452a1cccf01c990d8d628a
tree6745e38d43bfbe5496a98af96358de3055fa898c
parent4e78dd144b865162626f811d1097b6d181ec6a31
aoe: update cap on outstanding commands based on config query response

The ATA over Ethernet config query response contains a "buffer count"
field reflecting the AoE target's capacity to buffer incoming AoE
commands.

By taking the current value of this field into accound, we increase
performance throughput or avoid network congestion, when the value
has increased or decreased, respectively.

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>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoecmd.c