1. 16 6月, 2014 1 次提交
  2. 04 6月, 2014 1 次提交
  3. 20 5月, 2014 1 次提交
  4. 09 5月, 2014 1 次提交
  5. 05 5月, 2014 1 次提交
  6. 29 4月, 2014 3 次提交
    • P
      block/iscsi: allow cluster_size of 4K and greater · 3d2acaa3
      Peter Lieven 提交于
      depending on the target the opt_unmap_gran might be as low
      as 4K. As we know use this also as a knob to activate the allocationmap
      feature lower the barrier. The limit 4K (and not 512) is choosen
      to avoid a potentially too big allocationmap.
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      3d2acaa3
    • P
      5917af81
    • P
      block/iscsi: speed up read for unallocated sectors · b03c3805
      Peter Lieven 提交于
      this patch implements a cache that tracks if a page on the
      iscsi target is allocated or not. The cache is implemented in
      a way that it allows for false positives
      (e.g. pretending a page is allocated, but it isn't), but
      no false negatives.
      
      The cached allocation info is then used to speed up the
      read process for unallocated sectors by issueing a GET_LBA_STATUS
      request for all sectors that are not yet known to be allocated.
      If the read request is confirmed to fall into an unallocated
      range we directly return zeroes and do not transfer the
      data over the wire.
      
      Tests have shown that a relatively small amount of GET_LBA_STATUS
      requests happens a vServer boot time to fill the allocation cache
      (all those blocks are not queried again).
      
      Not to transfer all the data of unallocated sectors saves a lot
      of time, bandwidth and storage I/O load during block jobs or storage
      migration and it saves a lot of bandwidth as well for any big sequential
      read of the whole disk (e.g. block copy or speed tests) if a significant
      number of blocks is unallocated.
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      b03c3805
  7. 28 4月, 2014 1 次提交
  8. 26 4月, 2014 1 次提交
  9. 22 4月, 2014 1 次提交
    • K
      block: Add errp to bdrv_new() · 98522f63
      Kevin Wolf 提交于
      This patch adds an errp parameter to bdrv_new() and updates all its
      callers. The next patches will make use of this in order to check for
      duplicate IDs. Most of the callers know that their ID is fine, so they
      can simply assert that there is no error.
      
      Behaviour doesn't change with this patch yet as bdrv_new() doesn't
      actually assign errors to errp.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      98522f63
  10. 11 4月, 2014 1 次提交
  11. 04 4月, 2014 1 次提交
  12. 03 4月, 2014 3 次提交
  13. 05 3月, 2014 1 次提交
  14. 22 2月, 2014 5 次提交
  15. 18 2月, 2014 1 次提交
  16. 14 2月, 2014 1 次提交
  17. 09 2月, 2014 1 次提交
  18. 25 1月, 2014 2 次提交
  19. 22 1月, 2014 1 次提交
  20. 15 1月, 2014 1 次提交
  21. 07 1月, 2014 1 次提交
  22. 20 12月, 2013 1 次提交
  23. 16 12月, 2013 1 次提交
    • P
      block/iscsi: use a bh to schedule co reentrance · 8b9dfe90
      Peter Lieven 提交于
      this fixes a potential segfault and performance regression.
      
      If the coroutine is reentered directly in the iscsi_co_generic_cb
      iscsi_process_{read,write} are interrupted and reentered any
      time later. One the one hand this could happen after an iscsi_close
      where the iscsi context is already gone (segfault). On the
      other hand this limits the number of processed callbacks
      in each aio_dispatch to one (potential performance regression).
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NPeter Lieven <pl@kamp.de>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      8b9dfe90
  24. 09 12月, 2013 1 次提交
  25. 05 12月, 2013 2 次提交
  26. 03 12月, 2013 3 次提交
  27. 28 11月, 2013 2 次提交