]> git.kernelconcepts.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>
Thu, 4 Oct 2012 05:04:07 +0000 (15:04 +1000)
commitea2d357155f1ea74eb7827be3fa47831d2e247c7
tree6dba39186fbb2975fb1670f48c562d97372188d5
parentd77e3a9bed82bc9c05fd23d39464155efb76c356
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