[SCSI] libiscsi: iscsi_session_setup to allow for private space
This patch contains changes that allow iscsi_session_setup to allocate private space for LLD's Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com> Acked-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
committed by
James Bottomley
parent
6733b39a13
commit
b8b9e1b812
@@ -303,6 +303,7 @@ struct iscsi_session {
|
||||
int cmds_max; /* size of cmds array */
|
||||
struct iscsi_task **cmds; /* Original Cmds arr */
|
||||
struct iscsi_pool cmdpool; /* PDU's pool */
|
||||
void *dd_data; /* LLD private data */
|
||||
};
|
||||
|
||||
enum {
|
||||
@@ -363,7 +364,7 @@ extern int iscsi_target_alloc(struct scsi_target *starget);
|
||||
*/
|
||||
extern struct iscsi_cls_session *
|
||||
iscsi_session_setup(struct iscsi_transport *, struct Scsi_Host *shost,
|
||||
uint16_t, int, uint32_t, unsigned int);
|
||||
uint16_t, int, int, uint32_t, unsigned int);
|
||||
extern void iscsi_session_teardown(struct iscsi_cls_session *);
|
||||
extern void iscsi_session_recovery_timedout(struct iscsi_cls_session *);
|
||||
extern int iscsi_set_param(struct iscsi_cls_conn *cls_conn,
|
||||
|
Reference in New Issue
Block a user