]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
aoe: use a kernel thread for transmissions
authorEd Cashin <ecashin@coraid.com>
Wed, 26 Sep 2012 01:35:01 +0000 (11:35 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:29:02 +0000 (17:29 +1000)
commit3078699cdc0c972708e91dfaa5e459ba083547d2
treea20f7d688d714daf133723845898cf6f93e0580a
parente70f806ef41d9e6e5d124bc52219232bd91cfe08
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