1. 25 2月, 2010 2 次提交
    • O
      IB/iser: Simplify send flow/descriptors · f19624aa
      Or Gerlitz 提交于
      Simplify and shrink the logic/code used for the send descriptors.
      Changes include removing struct iser_dto (an unnecessary abstraction),
      using struct iser_regd_buf only for handling SCSI commands, using
      dma_sync instead of dma_map/unmap, etc.
      Signed-off-by: NOr Gerlitz <ogerlitz@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      f19624aa
    • O
      IB/iser: New receive buffer posting logic · bcc60c38
      Or Gerlitz 提交于
      Currently, the recv buffer posting logic is based on the transactional
      nature of iSER which allows for posting a buffer before sending a PDU.
      Change this to post only when the number of outstanding recv buffers
      is below a water mark and in a batched manner, thus simplifying and
      optimizing the data path.  Use a pre-allocated ring of recv buffers
      instead of allocating from kmem cache.  A special treatment is given
      to the login response buffer whose size must be 8K unlike the size of
      buffers used for any other purpose which is 128 bytes.
      Signed-off-by: NOr Gerlitz <ogerlitz@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      bcc60c38
  2. 05 12月, 2009 1 次提交
  3. 03 10月, 2009 1 次提交
  4. 24 5月, 2009 2 次提交
    • M
      [SCSI] libiscsi: add task aborted state · b3cd5050
      Mike Christie 提交于
      If a task did not complete normally due to a TMF, libiscsi will
      now complete the task with the state ISCSI_TASK_ABRT_TMF. Drivers
      like bnx2i that need to free resources if a command did not complete normally
      can then check the task state. If a driver does not need to send
      a special command if we have dropped the session then they can check
      for ISCSI_TASK_ABRT_SESS_RECOV.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      b3cd5050
    • M
      [SCSI] iscsi: pass ep connect shost · 10eb0f01
      Mike Christie 提交于
      When we create the tcp/ip connection by calling ep_connect, we currently
      just go by the routing table info.
      
      I think there are two problems with this.
      
      1. Some drivers do not have access to a routing table. Some drivers like
      qla4xxx do not even know about other ports.
      
      2. If you have two initiator ports on the same subnet, the user may have
      set things up so that session1 was supposed to be run through port1. and
      session2 was supposed to be run through port2. It looks like we could
      end with both sessions going through one of the ports.
      
      Fixes for cxgb3i from Karen Xie.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      10eb0f01
  5. 27 4月, 2009 1 次提交
  6. 14 3月, 2009 5 次提交
  7. 30 12月, 2008 2 次提交
  8. 13 10月, 2008 2 次提交
  9. 15 7月, 2008 1 次提交
  10. 12 7月, 2008 14 次提交
  11. 30 4月, 2008 1 次提交
  12. 26 1月, 2008 1 次提交
  13. 24 1月, 2008 1 次提交
  14. 12 1月, 2008 4 次提交
  15. 27 7月, 2007 1 次提交
  16. 20 7月, 2007 1 次提交
    • P
      mm: Remove slab destructors from kmem_cache_create(). · 20c2df83
      Paul Mundt 提交于
      Slab destructors were no longer supported after Christoph's
      c59def9f change. They've been
      BUGs for both slab and slub, and slob never supported them
      either.
      
      This rips out support for the dtor pointer from kmem_cache_create()
      completely and fixes up every single callsite in the kernel (there were
      about 224, not including the slab allocator definitions themselves,
      or the documentation references).
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      20c2df83