From 87d6ddbc431657758bdebb159495cbc47b372865 Mon Sep 17 00:00:00 2001 From: Ed Cashin Date: Thu, 25 Oct 2012 12:15:21 +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