Files
libiscsi/lib
Anatoliy Glagolev e4c4799f29 checking if task is in outqueue
Users need to check if a task is queued to send (not sent yet)
before invoking functions such as iscsi_task_mgmt_abort_task_async.
Otherwise, because task management requests are automatically
treated as "immediate", a request to abort a task is sent before
the task itself.

if (iscsi_scsi_is_task_in_outqueue(iscsi_, task_)) {
    iscsi_scsi_cancel_task(iscsi_, task_);
} else {
    iscsi_task_mgmt_abort_task_async(iscsi_, task_, AbortCb, context_);
}
2023-09-20 12:24:26 -06:00
..
2023-06-06 13:29:52 +08:00
2020-02-28 21:54:49 -08:00
2023-06-06 13:29:52 +08:00
2023-06-06 13:29:52 +08:00
2023-06-06 13:29:52 +08:00
2022-01-17 13:14:49 -08:00
2023-06-06 13:29:52 +08:00