Add Read TOC (0x43) Command Support (and basic testcase).
This commit is contained in:
@@ -727,6 +727,10 @@ iscsi_unmap_task(struct iscsi_context *iscsi, int lun, int anchor, int group,
|
||||
struct unmap_list *list, int list_len,
|
||||
iscsi_command_cb cb, void *private_data);
|
||||
|
||||
EXTERN struct scsi_task *
|
||||
iscsi_readtoc_task(struct iscsi_context *iscsi, int lun, int msf, int format,
|
||||
int track_session, int maxsize,
|
||||
iscsi_command_cb cb, void *private_data);
|
||||
|
||||
/*
|
||||
* Sync commands for SCSI
|
||||
@@ -881,6 +885,10 @@ EXTERN struct scsi_task *
|
||||
iscsi_unmap_sync(struct iscsi_context *iscsi, int lun, int anchor, int group,
|
||||
struct unmap_list *list, int list_len);
|
||||
|
||||
EXTERN struct scsi_task *
|
||||
iscsi_readtoc_sync(struct iscsi_context *iscsi, int lun, int msf,
|
||||
int format, int track_session, int maxsize);
|
||||
|
||||
/*
|
||||
* This function is used when the application wants to specify its own buffers to read the data
|
||||
* from the DATA-IN PDUs into.
|
||||
|
||||
Reference in New Issue
Block a user