target: Push target_submit_tmr LUN lookup failure to system_wq context
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 25 Feb 2012 13:02:48 +0000 (05:02 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 26 Feb 2012 02:38:41 +0000 (18:38 -0800)
commit9f0d05c2c6185d7b5ba08a6c052e90837101031f
tree3ea308edfd01d79d2b87ea9496fcb02445a77d13
parent00ad4c4e81ba8bfcc52c42ec9d72ff84a081fb82
target: Push target_submit_tmr LUN lookup failure to system_wq context

In order to handle incoming target_submit_tmr() callers using interrupt
context, use system_wq process context for transport_lookup_tmr_lun()
failures to return TMR_LUN_DOES_NOT_EXIST status for fabric TM response.

Cc: Andy Grover <agrover@redhat.com>
Cc: Kiran Patil <kiran.patil@intel.com>
Cc: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c