]> git.karo-electronics.de Git - karo-tx-linux.git/commit
aoe: use a kernel thread for transmissions
authorEd Cashin <ecashin@coraid.com>
Fri, 7 Sep 2012 00:25:10 +0000 (10:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 05:36:38 +0000 (15:36 +1000)
commit6e450eac89e357b5bb2d7cfa455441f1c57a4706
treeb05bd10f5fae1a0be248764e399c4e96a1fa9dbd
parent1c6ffd1a1edceb085c743ce161e8539e0b4fe51a
aoe: use a kernel thread for transmissions

The dev_queue_xmit function needs to have interrupts enabled, so the most
simple way to get the locking right but still fulfill that requirement is
to use a process that can call dev_queue_xmit serially over queued
transmissions.

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