tcm_fc: Offload WRITE I/O backend submission to tpg workqueue
authorChristoph Hellwig <hch@infradead.org>
Sun, 8 Jul 2012 19:58:45 +0000 (15:58 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:35:19 +0000 (17:35 -0700)
commitb8b22533fed12dbb9e5a63d414cb1c768d1c28dd
tree121ce98fd9b96ce9f6c6ee135885d27922e97cc2
parent43381ce8bb14d2536102fe700b43e97da1410169
tcm_fc: Offload WRITE I/O backend submission to tpg workqueue

Defer the write processing to the internal to be able to use
target_execute_cmd.  I'm not even entirely sure the calling code requires
this due to the convoluted structure in libfc, but let's be safe for now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Mark Rustad <mark.d.rustad@intel.com>
Cc: Kiran Patil <Kiran.patil@intel.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_io.c