]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
aoe: update cap on outstanding commands based on config query response
authorEd Cashin <ecashin@coraid.com>
Sat, 3 Nov 2012 00:43:09 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 6 Nov 2012 04:58:49 +0000 (15:58 +1100)
commit65ed4f9d098274c835348027b64103dab4a31ba8
tree0c5658b6b196e906879dbf554d777579cf66696a
parent51b3afb7bcaca77ce01d8caaa00457a0723a4f69
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>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoecmd.c