]> git.karo-electronics.de Git - karo-tx-linux.git/commit
aoe: use a kernel thread for transmissions
authorEd Cashin <ecashin@coraid.com>
Fri, 5 Oct 2012 00:16:25 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:25 +0000 (03:05 +0900)
commiteb086ec59667df5b07d58176e21a5f523ead1d66
tree85c0fa90b4791659f128518115ca0df4ece88586
parent69cf2d85de773d998798e47e3335b85e5645d157
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoecmd.c
drivers/block/aoe/aoenet.c