[SCSI] libsas: add sas_abort_task
authorDarrick J. Wong <djwong@us.ibm.com>
Mon, 30 Oct 2006 23:18:50 +0000 (15:18 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 15 Nov 2006 18:27:50 +0000 (12:27 -0600)
commit79a5eb609b74e7b3638861c41b98eafa74920a1f
tree741a6fc22589b991d05ceaa755cc05577efe08b2
parentf456393e195e0aa16029985f63cd93b601a0d315
[SCSI] libsas: add sas_abort_task

This patch adds an external function, sas_abort_task, to enable LLDDs
to abort sas_tasks.  It also adds a work_struct so that the actual
work of aborting a task can be shifted from tasklet context (in the
LLDD) onto the scsi_host's workqueue.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_scsi_host.c
include/scsi/libsas.h