]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
aoe: increase default cap on outstanding AoE commands in the network
authorEd Cashin <ecashin@coraid.com>
Thu, 29 Nov 2012 03:19:09 +0000 (14:19 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:53 +0000 (16:23 +1100)
The aoe driver will never be waiting for more than aoe_maxout AoE commands
from a given remote network port on an AoE target.  Increasing the cap
increases performance.  Users can tighten the setting to reduce the amount
of memory used for handling AoE traffic or the network bandwidth used for
AoE.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/aoe/aoecmd.c

index d609c47c599ee0fbb5208b0f8dd96a97f7eaa541..53b98690d9b0bcbd7f056680a72af74692c5fdb8 100644 (file)
@@ -29,7 +29,7 @@ static int aoe_deadsecs = 60 * 3;
 module_param(aoe_deadsecs, int, 0644);
 MODULE_PARM_DESC(aoe_deadsecs, "After aoe_deadsecs seconds, give up and fail dev.");
 
-static int aoe_maxout = 16;
+static int aoe_maxout = 64;
 module_param(aoe_maxout, int, 0644);
 MODULE_PARM_DESC(aoe_maxout,
        "Only aoe_maxout outstanding packets for every MAC on eX.Y.");