Task Management. When we abort a task or a task set, or reset the lun or target
we must also cancel all active tasks. This will trigger all affected tasks to have their callback invoked with SCSI_STATUS_CANCELLED
This commit is contained in:
@@ -798,3 +798,9 @@ iscsi_get_user_in_buffer(struct iscsi_context *iscsi, struct iscsi_in_pdu *in, u
|
||||
|
||||
return scsi_task_get_data_in_buffer(pdu->scsi_cbdata->task, offset + pos, count);
|
||||
}
|
||||
|
||||
struct scsi_task *
|
||||
iscsi_scsi_get_task_from_pdu(struct iscsi_pdu *pdu)
|
||||
{
|
||||
return pdu->scsi_cbdata->task;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user