From: Ed Cashin Date: Fri, 9 Nov 2012 03:05:12 +0000 (+1100) Subject: aoe-print-warning-regarding-a-common-reason-for-dropped-transmits-v2 X-Git-Tag: next-20121112~5^2~23 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=63d21e26d7ad160ed05666b2b8b6b51583f9e5f0;p=karo-tx-linux.git aoe-print-warning-regarding-a-common-reason-for-dropped-transmits-v2 Dropped transmits are not common, but when they do occur, increasing the transmit queue length often helps. Signed-off-by: Ed Cashin Signed-off-by: Andrew Morton --- diff --git a/drivers/block/aoe/aoenet.c b/drivers/block/aoe/aoenet.c index a1bb692663df..3cf068b74b77 100644 --- a/drivers/block/aoe/aoenet.c +++ b/drivers/block/aoe/aoenet.c @@ -50,13 +50,9 @@ __setup("aoe_iflist=", aoe_iflist_setup); static spinlock_t txlock; static struct sk_buff_head skbtxq; -/* enters with txlock held - * - * Use __must_hold(&txlock) for sparse when upcoming patch adds it to - * compiler.h. - */ +/* enters with txlock held */ static int -tx(void) +tx(void) __must_hold(&txlock) { struct sk_buff *skb;