target: Remove core TRANSPORT_FREE_CMD_INTR usage
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 2 Nov 2011 15:28:20 +0000 (08:28 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 2 Nov 2011 15:58:46 +0000 (15:58 +0000)
commit3151d069e9e77043b0e791719bc65896cf24d9f0
tree7913988d9a7efc0ac7ef6cd44ca892243adcb9bd
parent88dd9e26d6d3e743f9c7e4562b94b2ad3c2994d3
target: Remove core TRANSPORT_FREE_CMD_INTR usage

This patch drops TRANSPORT_FREE_CMD_INTR usage from target core, which
includes the removal of transport_generic_free_cmd_intr() symbol,
TRANSPORT_FREE_CMD_INTR usage in transport_processing_thread(), and
special case LUN_RESET handling to skip TRANSPORT_FREE_CMD_INTR processing
in core_tmr_drain_cmd_list().  We now expect that fabric modules will
use an internal workqueue to provide process context when releasing
se_cmd descriptor resources via transport_generic_free_cmd().

Reported-by: Christoph Hellwig <hch@lst.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Roland Dreier <roland@purestorage.com>
Cc: Madhuranath Iyengar <mni@risingtidesystems.com>
Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
drivers/target/target_core_tmr.c
drivers/target/target_core_transport.c
include/target/target_core_base.h
include/target/target_core_transport.h