[SCSI] be2iscsi: Moving to pci_pools v3
commit2afc95bf546a961d2936d886c3802e159f1bae6b
authorJayamohan Kallickal <jayamohank@serverengines.com>
Tue, 22 Sep 2009 02:52:26 +0000 (22 08:22 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 2 Oct 2009 19:01:55 +0000 (2 14:01 -0500)
treeb898db3b79c260dac3f050955fc512c118f97efe
parentb8b9e1b8128d8854cf55740f9ceba3010143520d
[SCSI] be2iscsi: Moving to pci_pools v3

This patch contains changes to use pci_pools for iscsi hdr
instead of pci_alloc_consistent. Here we alloc and free to pool
for every IO

v3:
- Remove cleanup loop in beiscsi_session_destroy
- Fixup for allocation failure handling in beiscsi_alloc_pdu
- Removed unused variable in beiscsi_session_destroy.

[jejb: fix up pci_pool_alloc address sizing problem]
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_iscsi.c
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/be2iscsi/be_main.h