From: Ed Cashin Date: Thu, 29 Nov 2012 03:19:09 +0000 (+1100) Subject: aoe: increase default cap on outstanding AoE commands in the network X-Git-Tag: next-20121205~1^2~41 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eec9d738486b9c350ca67518a984b281f5b8d18d;p=karo-tx-linux.git aoe: increase default cap on outstanding AoE commands in the network 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 Signed-off-by: Andrew Morton --- diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index d609c47c599e..53b98690d9b0 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c @@ -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.");