]> git.karo-electronics.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>
Fri, 9 Nov 2012 03:09:10 +0000 (14:09 +1100)
commitf79bc2e3e414bb732a77b61f87d0eb4fec0bc756
tree5048d71649a702290865a3745ec4891e39afa332
parent01a2ba9603db99acf43ce5229e5a82b3eb708449
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