1. 12 12月, 2015 3 次提交
  2. 29 10月, 2015 1 次提交
    • 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. 31 8月, 2015 7 次提交
  4. 16 4月, 2015 5 次提交
  5. 18 2月, 2015 1 次提交
    • S
      IB/iser: Fix memory regions possible leak · 6606e6a2
      Sagi Grimberg 提交于
      When teardown process starts during live IO, we need to keep the
      memory regions pool (frmr/fmr) until all in-flight tasks are properly
      released, since each task may return a memory region to the pool. In
      order to do this, we pass a destroy flag to iser_free_ib_conn_res to
      indicate we can destroy the device and the memory regions
      pool. iser_conn_release will pass it as true and also DEVICE_REMOVAL
      event (we need to let the device to properly remove).
      
      Also, Since we conditionally call iser_free_rx_descriptors,
      remove the extra check on iser_conn->rx_descs.
      
      Fixes: 5426b171 ("IB/iser: Collapse cleanup and disconnect handlers")
      Reported-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: NSagi Grimberg <sagig@mellanox.com>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      6606e6a2
  6. 14 2月, 2015 1 次提交
  7. 16 12月, 2014 1 次提交
  8. 09 10月, 2014 5 次提交
  9. 12 6月, 2014 1 次提交
  10. 02 4月, 2014 2 次提交
  11. 18 3月, 2014 2 次提交
  12. 15 2月, 2014 1 次提交
  13. 03 9月, 2013 1 次提交
  14. 26 8月, 2013 1 次提交
  15. 10 8月, 2013 3 次提交
  16. 05 6月, 2013 1 次提交
  17. 06 3月, 2012 1 次提交
    • O
      IB/iser: Post initial receive buffers before sending the final login request · 89e984e2
      Or Gerlitz 提交于
      An iser target may send iscsi NO-OP PDUs as soon as it marks the iSER
      iSCSI session as fully operative.  This means that there is window
      where there are no posted receive buffers on the initiator side, so
      it's possible for the iSER RC connection to break because of RNR NAK /
      retry errors.  To fix this, rely on the flags bits in the login
      request to have FFP (0x3) in the lower nibble as a marker for the
      final login request, and post an initial chunk of receive buffers
      before sending that login request instead of after getting the login
      response.
      Signed-off-by: NOr Gerlitz <ogerlitz@mellanox.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NRoland Dreier <roland@purestorage.com>
      89e984e2
  18. 05 3月, 2012 1 次提交
  19. 05 11月, 2011 1 次提交
  20. 18 8月, 2011 1 次提交