[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:
Jayamohan Kallickal
2009-09-22 08:21:22 +05:30
committed by James Bottomley
parent 6733b39a13
commit b8b9e1b812
8 changed files with 19 additions and 9 deletions

View File

@@ -327,6 +327,10 @@ struct beiscsi_hba {
struct be_ctrl_info ctrl;
};
struct beiscsi_session {
struct pci_pool *bhs_pool;
};
/**
* struct beiscsi_conn - iscsi connection structure
*/
@@ -338,6 +342,7 @@ struct beiscsi_conn {
struct beiscsi_endpoint *ep;
unsigned short login_in_progress;
struct sgl_handle *plogin_sgl_handle;
struct beiscsi_session *beiscsi_sess;
};
/* This structure is used by the chip */