]> 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>
Fri, 9 Nov 2012 03:05:12 +0000 (14:05 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Nov 2012 04:55:26 +0000 (15:55 +1100)
commit32314bf8f757472a5c37749516eb324769093d1f
tree97257abae89a6763344cb5f0aca156ce32247085
parentbe298608afe3569ac618966b28164b7be6ce882b
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