1. 23 12月, 2015 1 次提交
  2. 29 10月, 2015 2 次提交
    • S
      IB/iser: Enable SG clustering · 630c3183
      Sagi Grimberg 提交于
      iser is perfectly capable supporting SG clustering as it translates
      the SG list to a page vector. Enabling SG clustering can dramatically
      reduce the number of SG elements, which doesn't make much of a difference
      at this point, but with arbitrary SG list support, reducing the
      number of SG elements can benefit greatly as as it would reduce
      the length of the HW descriptors array.
      Signed-off-by: NSagi Grimberg <sagig@mellanox.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      630c3183
    • S
      IB/iser: set block queue_virt_boundary · dd0107a0
      Sagi Grimberg 提交于
      The block layer can reliably guarantee that SG lists won't
      contain gaps (page unaligned) if a driver set the queue
      virt_boundary.
      
      With this setting the block layer will:
      - refuse merges if bios are not aligned to the virtual boundary
      - split bios/requests that are not aligned to the virtual boundary
      - or, bounce buffer SG_IOs that are not aligned to the virtual boundary
      
      Since iser is working in 4K page size, set the virt_boundary to
      4K pages. With this setting, we can now safely remove the bounce
      buffering logic in iser.
      Signed-off-by: NSagi Grimberg <sagig@mellanox.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      dd0107a0
  3. 23 10月, 2015 1 次提交
  4. 22 10月, 2015 1 次提交
  5. 25 9月, 2015 1 次提交
  6. 31 8月, 2015 8 次提交
  7. 29 8月, 2015 1 次提交
  8. 16 12月, 2014 5 次提交
  9. 24 11月, 2014 2 次提交
  10. 09 10月, 2014 7 次提交
  11. 23 9月, 2014 1 次提交
  12. 02 8月, 2014 4 次提交
  13. 26 5月, 2014 2 次提交
    • R
      IB/iser: Add missing newlines to logging messages · e7eeffa4
      Roi Dayan 提交于
      Logging messages need terminating newlines to avoid possible message
      interleaving.  Add them.
      Signed-off-by: NRoi Dayan <roid@mellanox.com>
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      e7eeffa4
    • A
      IB/iser: Simplify connection management · b73c3ada
      Ariel Nahum 提交于
      iSER relies on refcounting to manage iser connections establishment
      and teardown.
      
      Following commit 39ff05db ("IB/iser: Enhance disconnection logic
      for multi-pathing"), iser connection maintain 3 references:
      
       - iscsi_endpoint (at creation stage)
       - cma_id (at connection request stage)
       - iscsi_conn (at bind stage)
      
      We can avoid taking explicit refcounts by correctly serializing iser
      teardown flows (graceful and non-graceful).
      
      Our approach is to trigger a scheduled work to handle ordered teardown
      by gracefully waiting for 2 cleanup stages to complete:
      
       1. Cleanup of live pending tasks indicated by iscsi_conn_stop completion
       2. Flush errors processing
      
      Each completed stage will notify a waiting worker thread when it is
      done to allow teardwon continuation.
      
      Since iSCSI connection establishment may trigger endpoint disconnect
      without a successful endpoint connect, we rely on the iscsi <-> iser
      binding (.conn_bind) to learn about the teardown policy we should take
      wrt cleanup stages.
      
      Since all cleanup worker threads are scheduled (release_wq) in
      .ep_disconnect it is safe to assume that when module_exit is called,
      all cleanup workers are already scheduled. Thus proper module unload
      shall flush all scheduled works before allowing safe exit, to
      guarantee no resources got left behind.
      Signed-off-by: NAriel Nahum <arieln@mellanox.com>
      Signed-off-by: NSagi Grimberg <sagig@mellanox.com>
      Reviewed-by: NRoi Dayan <roid@mellanox.com>
      Reviewed-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      b73c3ada
  14. 02 4月, 2014 2 次提交
  15. 18 3月, 2014 2 次提交