]> 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>
Thu, 29 Nov 2012 03:19:04 +0000 (14:19 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:50 +0000 (16:23 +1100)
commitc90535a7681a9f542b6ff671144818bf8b63eb4f
tree0a14d6c9ddd9662245e7f7582adb3bcc56dd0ccd
parent5d2db6e6f6e5b8a749e2ac16ad509770b55d99d4
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