1. 11 5月, 2017 1 次提交
  2. 28 4月, 2017 1 次提交
    • E
      qcow2: Allow discard of final unaligned cluster · 048c5fd1
      Eric Blake 提交于
      As mentioned in commit 0c1bd469, we ignored requests to
      discard the trailing cluster of an unaligned image.  While
      discard is an advisory operation from the guest standpoint,
      (and we are therefore free to ignore any request), our
      qcow2 implementation exploits the fact that a discarded
      cluster reads back as 0.  As long as we discard on cluster
      boundaries, we are fine; but that means we could observe
      non-zero data leaked at the tail of an unaligned image.
      
      Enhance iotest 66 to cover this case, and fix the implementation
      to honor a discard request on the final partial cluster.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Message-id: 20170407013709.18440-1-eblake@redhat.com
      Signed-off-by: NMax Reitz <mreitz@redhat.com>
      048c5fd1
  3. 13 12月, 2014 1 次提交
  4. 11 10月, 2013 1 次提交
  5. 30 8月, 2013 1 次提交