Re: [PATCH v1 0/4] iscsi target support for large sendtargets response payloads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/26/2015 12:49 PM, Sagi Grimberg wrote:
In case the sendtargets response payload exceeds the initiator MRDSL, we must
break the response into pieces and prepare for the initiator next (empty) text
messages.

We write the maximum payload the initiator can receive (or less if we have less)
and if we are not done, we set C=1, F=0, TTT!=0xffffffff. In a discovery session
we accept empty text request by assuming they are consecutive sendtargets (does
anyone have a better idea here?).

The set consist of 2 preparation patches, a patch to add this support and another
patch to fix a bug in isert.

Changes from v0:
- Fix typo s/cusecutive/consecutive/g

Sagi Grimberg (4):
   iscsi-target: Introduce session_get_next_ttt
   iscsi-target: Don't over-allocate sendtargets text resp buffer
   iscsi-target: Support multi-sequence sendtargets text response
   iser-target: Fix wrong allocation in the case of an empty text
     message

  drivers/infiniband/ulp/isert/ib_isert.c  |   14 +++--
  drivers/target/iscsi/iscsi_target.c      |   82 ++++++++++++++++++++---------
  drivers/target/iscsi/iscsi_target_util.c |    9 +---
  include/target/iscsi/iscsi_target_core.h |   16 ++++++
  4 files changed, 82 insertions(+), 39 deletions(-)

--

Sorry for the double send, mailer hiccup...

Sagi.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux