[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block/raw-posix: use seek_hole ahead of fiemap
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] block/raw-posix: use seek_hole ahead of fiemap |
Date: |
Thu, 25 Sep 2014 06:40:54 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 |
On 09/24/2014 11:23 PM, Tony Breeds wrote:
> The command
> qemu-img convert -O raw inputimage.qcow2 outputimage.raw
>
> intermittently creates corrupted output images, when the input image
is not yet fully synchronized to disk. This patch preferese the use of
seek_hole checks to determine if the sector is present in the disk image.
s/preferese/prefers/
Please wrap your commit messages to fit in 70 or so columns (so that git
log, which indents messages, is still legible in an 80-column window).
>
> While we're there modify try_fiemap() to set FIEMAP_FLAG_SYNC.
>
> Reported-By: Michael Steffens <address@hidden>
> CC: Pádraig Brady <address@hidden>
> Signed-off-by: Tony Breeds <address@hidden>
> ---
> block/raw-posix.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
Adding Kevin and Stefan in cc (per scripts/get_maintainer.pl).
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH] block/raw-posix: use seek_hole ahead of fiemap, (continued)
Re: [Qemu-devel] [PATCH] block/raw-posix: use seek_hole ahead of fiemap,
Eric Blake <=
[Qemu-devel] [PATCH v2 1/2] block/raw-posix: Fix disk corruption in try_fiemap, Tony Breeds, 2014/09/25