From 63d21e26d7ad160ed05666b2b8b6b51583f9e5f0 Mon Sep 17 00:00:00 2001 From: Ed Cashin Date: Fri, 9 Nov 2012 14:05:12 +1100 Subject: [PATCH] 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 --- drivers/block/aoe/aoenet.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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; -- 2.39.5