1. 28 3月, 2013 2 次提交
    • K
      qcow2: Gather clusters in a looping loop · ecdd5333
      Kevin Wolf 提交于
      Instead of just checking once in exactly this order if there are
      dependendies, non-COW clusters and new allocation, this starts looping
      around these. This way we can, for example, gather non-COW clusters after
      new allocations as long as the host cluster offsets stay contiguous.
      
      Once handle_dependencies() is extended so that COW areas of in-flight
      allocations can be overwritten, this allows to continue with gathering
      other clusters (we wouldn't be able to do that without this change
      because we would have missed a possible second dependency in one of the
      next clusters).
      
      This means that in the typical sequential write case, we can combine the
      COW overwrite of one cluster with the allocation of the next cluster as
      soon as something like Delayed COW gets actually implemented. It is only
      by avoiding splitting requests this way that Delayed COW actually starts
      improving performance noticably.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      ecdd5333
    • K
      qcow2: Fix "total clusters" number in bdrv_check · c349ca4b
      Kevin Wolf 提交于
      This should be based on the virtual disk size, not on the size of the
      image.
      
      Interesting observation: With some VM state stored in the image file,
      percentages higher than 100% are possible, even though snapshots
      themselves are ignored. This is a qcow2 bug to be fixed another day: The
      VM state should be discarded in the active L2 tables after completing
      the snapshot creation.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      c349ca4b
  2. 23 2月, 2013 2 次提交
  3. 15 11月, 2012 1 次提交
  4. 29 9月, 2012 2 次提交
  5. 29 8月, 2012 1 次提交
  6. 10 5月, 2012 1 次提交
  7. 27 4月, 2012 1 次提交
  8. 29 2月, 2012 1 次提交