diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-09-04 22:04:23 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-12 10:35:33 -0400 |
commit | 4c0ba5d2593b5156327263f3ef6d7399dc0717b8 (patch) | |
tree | 2870f60c768f004f54aaf9d140612667edea4100 /include | |
parent | dd784edcfc080fb4c83f1f3d10d905c5ab61616f (diff) |
[SCSI] libiscsi: add completion function for drivers that do not need pdu processing
beiscsi does not need the iscsi scsi cmd processing. It does not
even get this info on the completion path. This adds a function
to just update the sequencing numbers and complete a task.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/libiscsi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index 61afeb59a836..439c8b75cb69 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -415,6 +415,8 @@ extern struct iscsi_task *iscsi_itt_to_task(struct iscsi_conn *, itt_t); | |||
415 | extern void iscsi_requeue_task(struct iscsi_task *task); | 415 | extern void iscsi_requeue_task(struct iscsi_task *task); |
416 | extern void iscsi_put_task(struct iscsi_task *task); | 416 | extern void iscsi_put_task(struct iscsi_task *task); |
417 | extern void __iscsi_get_task(struct iscsi_task *task); | 417 | extern void __iscsi_get_task(struct iscsi_task *task); |
418 | extern void iscsi_complete_scsi_task(struct iscsi_task *task, | ||
419 | uint32_t exp_cmdsn, uint32_t max_cmdsn); | ||
418 | 420 | ||
419 | /* | 421 | /* |
420 | * generic helpers | 422 | * generic helpers |