1. 21 9月, 2006 1 次提交
  2. 29 7月, 2006 1 次提交
    • M
      [SCSI] iscsi bugfixes: reduce memory allocations · c8dc1e52
      Mike Christie 提交于
      We currently try to allocate a max_recv_data_segment_length
      which can be very large (default is 64K), and common uses
      are up to 1MB. It is very very difficult to allocte this
      much contiguous memory and it turns out we never even use it.
      We really only need a couple of pages, so this patch has us
      allocates just what we know what we need today.
      
      Later if vendors start adding vendor specific data and
      we need to handle large buffers we can do this, but for
      the last 4 years we have not seen anyone do this or request
      it.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      c8dc1e52
  3. 20 5月, 2006 1 次提交
  4. 15 4月, 2006 2 次提交
    • M
      [SCSI] iscsi: convert iscsi tcp to libiscsi · 5bb0b55a
      Mike Christie 提交于
      This just converts iscsi_tcp to the lib
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      5bb0b55a
    • M
      [SCSI] iscsi: fix up iscsi eh · 30a6c652
      Mike Christie 提交于
      The current iscsi_tcp eh is not nicely setup for dm-multipath
      and performs some extra task management functions when they
      are not needed.
      
      The attached patch:
      
      - Fixes the TMF issues. If a session is rebuilt
      then we do not send aborts.
      
      - Fixes the problem where if the host reset fired, we would
      return SUCCESS even though we had not really done anything
      yet. This ends up causing problem with scsi_error.c's TUR.
      
      - If someone has turned on the userspace nop daemon code to try
      and detect network problems before the scsi command timeout
      we can now drop and clean up the session before the scsi command
      timesout and fires the eh speeding up the time it takes for a
      command to go from one patch to another. For network problems
      we fail the command with DID_BUS_BUSY so if failfast is set
      scsi_decide_disposition fails the command up to dm for it to
      try on another path.
      
      - And we had to add some basic iscsi session block code. Previously
      if we were trying to repair a session we would retrun a MLQUEUE code
      in the queuecommand. This worked but it was not the most efficient
      or pretty thing to do since it would take a while to relogin
      to the target. For iscsi_tcp/open-iscsi a lot of the iscsi error handler
      is in userspace the block code is pretty bare. We will be
      adding to that for qla4xxx.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      30a6c652
  5. 05 2月, 2006 2 次提交
  6. 15 1月, 2006 2 次提交
  7. 13 1月, 2006 1 次提交
  8. 14 12月, 2005 1 次提交
  9. 06 8月, 2005 1 次提交