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: Kevin Wolf
Subject: Re: [Qemu-devel] [RFC PATCH 00/19] block: Support for 512b-on-4k emulation
Date: Mon, 9 Dec 2013 14:02:46 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Am 09.12.2013 um 13:51 hat Stefan Hajnoczi geschrieben:
> 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.

Right. Even with image fleecing you might get away with it, because you
don't have an expected alignment on the NBD client (or do you?)

But how about VMDK extents or Quorum backends, then?

Kevin



reply via email to

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