1. 12 7月, 2008 2 次提交
  2. 30 4月, 2008 1 次提交
  3. 18 7月, 2007 1 次提交
    • R
      IB/iser: Make a couple of functions static · 41179e2d
      Roland Dreier 提交于
      Make iser_conn_release() and iser_start_rdma_unaligned_sg() static,
      since they are only used in the .c file where they are defined.  In
      addition to being a cleanup, this even shrinks the generated code by
      allowing the single call of iser_start_rdma_unaligned_sg() to be
      inlined into its callsite.  On x86_64:
      
      add/remove: 0/1 grow/shrink: 1/0 up/down: 466/-533 (-67)
      function                                     old     new   delta
      iser_reg_rdma_mem                           1518    1984    +466
      iser_start_rdma_unaligned_sg                 533       -    -533
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      41179e2d
  4. 03 6月, 2007 1 次提交
  5. 06 4月, 2007 1 次提交
    • E
      IB/iser: Don't defer connection failure notification to workqueue · 1d426d64
      Erez Zilber 提交于
      When a connection is terminated asynchronously from the iSCSI layer's
      perspective, iSER needs to notify the iSCSI layer that the connection
      has failed.  This is done using a workqueue (switched to from the iSER
      tasklet context).  Meanwhile, the connection object (that holds the
      work struct) is released.  If the workqueue function wasn't called
      yet, it will be called later with a NULL pointer, which will crash the
      kernel.
      
      The context switch (tasklet to workqueue) is not required, and
      everything can be done from the iSER tasklet. This eliminates the NULL
      work struct bug (and simplifies the code).
      Signed-off-by: NErez Zilber <erezz@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      1d426d64
  6. 13 12月, 2006 1 次提交
  7. 30 11月, 2006 1 次提交
  8. 29 9月, 2006 2 次提交
  9. 23 9月, 2006 2 次提交
    • E
      IB/iser: Do not use FMR for a single dma entry sg · d8111028
      Erez Zilber 提交于
      Fast Memory Registration (fmr) is used to register for rdma an sg whose
      elements are not linearly sequential after dma mapping.
      
      The IB verbs layer provides an "all dma memory MR (memory region)" which
      can be used for RDMA-ing a dma linearly sequential buffer.
      
      Change the code to use the dma mr instead of doing fmr when dma mapping
      produces a single dma entry sg.
      Signed-off-by: NErez Zilber <erezz@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      d8111028
    • E
      IB/iser: make FMR "page size" be 4K and not PAGE_SIZE · 8dfa0876
      Erez Zilber 提交于
      As iser is able to use at most one rdma operation for the
      execution of a scsi command, and registration of the sg
      associated with scsi command has its restrictions, the code
      checks if an sg is "aligned for rdma".
      
      Alignment for rdma is measured in "fmr page" units whose
      possible resolutions are different between HCAs and can be
      smaller, equal or bigger to the system page size.
      
      When the system page size is bigger than 4KB (eg the default
      with ia64 kernels) there a bigger chance that an sg would be
      aligned for rdma if the fmr page size is 4KB.
      
      Change the code to create FMR whose pages are of size 4KB
      and to take that into account when processing the sg.
      Signed-off-by: NErez Zilber <erezz@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      8dfa0876
  10. 03 9月, 2006 1 次提交
  11. 22 6月, 2006 1 次提交
    • O
      IB/iser: iSCSI iSER transport provider header file · 49cd5382
      Or Gerlitz 提交于
      iSER (iSCSI Extensions for RDMA) transport provider driver for the iSCSI
      initiator, whose other parts (under drivers/scsi) are scsi_transport_iscsi
      - the transport management module, iscsi_tcp - the TCP transport provider
      module and libiscsi - a kernel library (module) implementing functionality
      needed by both TCP and iSER transports. iSER is both a provider of the iSCSI
      transport api and a SCSI low level driver.
      
      This file contains internal data structures and non static service functions.
      Signed-off-by: NOr Gerlitz <ogerlitz@voltaire.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      49cd5382