]> git.karo-electronics.de Git - karo-tx-linux.git/commit
aoe: use a kernel thread for transmissions
authorEd Cashin <ecashin@coraid.com>
Fri, 28 Sep 2012 00:22:23 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 1 Oct 2012 14:25:01 +0000 (00:25 +1000)
commit038b8b57befcd996fcf8c935fbb2d298dae447c2
treeae2036a6710af163a7d552e0e22359db14433d1c
parent3d917e1ac43e5ab6aa05f8c5da7921fdf23d5d93
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