[SCSI] libiscsi,iser: patch for AHS support
authorBoaz Harrosh <boazharrosh@gmail.com>
Thu, 13 Dec 2007 18:43:24 +0000 (12:43 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:28:25 +0000 (18:28 -0600)
commit38ad03de3fd350e683213ddf898a7049534628a8
treedd543bcfd0c3729be02572e816fe8fd1067ed451
parent004d6530f83bee43a55b51bb5960db96e7ae0ffa
[SCSI] libiscsi,iser: patch for AHS support

  - The default initialization of hdr_max is the minimum -
    sizeof(struct iscsi_cmd) - Once this patch goes into iser the default
    initialization at libiscsi can be removed.
  - This is not yet full support for AHSs at iser end. But it should be easy.
    Just allocate more space at iser_desc right after iscsi_hdr. Than
    at transmission time use ctask->hdr_len to retrieve the total
    size of all iscsi pdu headers. See previous patch at iscsi_tcp.[ch]

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/scsi/libiscsi.c