1. 28 Oct, 2015 2 commits
    • Sagi Grimberg's avatar
      IB/iser: Enable SG clustering · 630c3183
      Sagi Grimberg authored
      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: default avatarSagi Grimberg <sagig@mellanox.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
      630c3183
    • Sagi Grimberg's avatar
      IB/iser: set block queue_virt_boundary · dd0107a0
      Sagi Grimberg authored
      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: default avatarSagi Grimberg <sagig@mellanox.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
      dd0107a0
  2. 22 Oct, 2015 21 commits
  3. 21 Oct, 2015 17 commits