]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
aoe-print-warning-regarding-a-common-reason-for-dropped-transmits-v2
authorEd Cashin <ecashin@coraid.com>
Thu, 15 Nov 2012 02:38:47 +0000 (13:38 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Nov 2012 06:32:19 +0000 (17:32 +1100)
Dropped transmits are not common, but when they do occur, increasing
the transmit queue length often helps.

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

index a1bb692663df8b61e228f6a86252e940917fc548..3cf068b74b77f00e4f6efd2ef042f0295d31aaf7 100644 (file)
@@ -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;