Skip to content
Snippets Groups Projects
  1. Apr 27, 2009
    • Mike Christie's avatar
      [SCSI] iscsi_tcp: don't fire conn error if pdu init fails · 9a6510eb
      Mike Christie authored
      
      If a command's scsi cmd pdu setup fails then we can just fail
      the IO to the scsi layer. If a DATA_OUT for a R2T fails then
      we will want to drop the session, because it means we got a
      bad request from the target (iscsi protocol error).
      
      This patch has us propogate the error upwards so libiscsi_tcp
      or libiscsi can decide what the best action is to take. It
      also fixes a bug where we could try to grab the session lock
      while holding it, because if iscsi_tcp drops the session in the
      pdu setup callout the session lock is held when setting up the
      scsi cmd pdu.
      
      Signed-off-by: default avatarMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      9a6510eb
  2. Mar 13, 2009
  3. Dec 29, 2008
  4. Oct 31, 2008
  5. Oct 29, 2008
  6. Oct 13, 2008
  7. Jul 12, 2008
  8. Apr 18, 2008
  9. Feb 08, 2008
  10. Jan 30, 2008
    • James Bottomley's avatar
      [SCSI] remove use_sg_chaining · d3f46f39
      James Bottomley authored
      
      With the sg table code, every SCSI driver is now either chain capable
      or broken (or has sg_tablesize set so chaining is never activated), so
      there's no need to have a check in the host template.
      
      Also tidy up the code by moving the scatterlist size defines into the
      SCSI includes and permit the last entry of the scatterlist pools not
      to be a power of two.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      d3f46f39
  11. Jan 12, 2008
Loading