]> 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, 25 Oct 2012 01:15:21 +0000 (12:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Nov 2012 05:01:04 +0000 (16:01 +1100)
commitff77f632d32d539ed928e2cff802d7f275a2c5af
tree135bba228acc4f117ff9d2305d7626381199f30e
parent869496d4da0e833ebe4c85ac71763e9171472a35
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