Mike, I presume you meant the
8846bab
scsi_cmnd: Introduce scsi_transfer_length helper
d77e653
libiscsi, iser: Adjust data_length to include protection information
& Martin's fix after that
5616b0
use the scsi data buffer length to extract transfer size
I see the commits in the branches, but not in master. Do the patches need to be
rebased onto drivers-for-3.17 then ?
-Anish
________________________________________
From: Anish Bhatt
Sent: Wednesday, August 06, 2014 7:35 PM
To: Mike Christie
Cc: [email protected]; [email protected]; [email protected];
Karen Xie; Manoj Malviya
Subject: RE: [PATCH scsi 1/1] libiscsi : Add T10 Data Integrity Feature support
This patch was made over scsi-devel/master, I'll rebase it to Christoph's tree
-Anish
________________________________________
From: Mike Christie [[email protected]]
Sent: Wednesday, August 06, 2014 7:25 PM
To: Anish Bhatt
Cc: [email protected]; [email protected]; [email protected];
Karen Xie; Manoj Malviya
Subject: Re: [PATCH scsi 1/1] libiscsi : Add T10 Data Integrity Feature support
On 08/06/2014 05:37 PM, Anish Bhatt wrote
> @@ -436,12 +473,12 @@ static int iscsi_prep_scsi_cmd_pdu(struct iscsi_task
> *task)
> /* No unsolicit Data-Out's */
> hdr->flags |= ISCSI_FLAG_CMD_FINAL;
> } else {
> + unsigned in_len = iscsi_scsi_in_total_length(sc);
> hdr->flags |= ISCSI_FLAG_CMD_FINAL;
> zero_data(hdr->dlength);
> - hdr->data_length = cpu_to_be32(scsi_in(sc)->length);
> -
> if (sc->sc_data_direction == DMA_FROM_DEVICE)
> hdr->flags |= ISCSI_FLAG_CMD_READ;
> + hdr->data_length = cpu_to_be32(in_len);
> }
>
What tree and branch did you make these over? Have you seen the patches
from Sagi for iser and libiscsi support?
Could you rebuild this over Christoph's tree which has his patches:
git://git.infradead.org/users/hch/scsi-queue.git
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html