qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 00/19] block: Support for 512b-on-4k emulati


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [RFC PATCH 00/19] block: Support for 512b-on-4k emulation
Date: Mon, 9 Dec 2013 13:51:48 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Dec 06, 2013 at 06:22:41PM +0100, Kevin Wolf wrote:
> This series does not cover 4k guests on a 512 byte host, and I'm not
> sure yet what to do with this case. Paolos series contained a patch to
> protect against "torn reads" (i.e. reads running in parallel with
> writes, which return old data for one half of a sector and new data for
> the other half) by serialising requests if the guest block size was
> greater than the host block size.
> 
> One problem with this approach is that it assumes that a single host
> block size even exists and can be compared against on the top level.
> Different backing files can be stored on different storage, though, with
> different block sizes.

As long as the backing file is read-only you won't get torn reads.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]