[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.
- [Qemu-devel] [RFC PATCH 12/19] block: Allow waiting for overlapping requests between begin/end, (continued)
- [Qemu-devel] [RFC PATCH 12/19] block: Allow waiting for overlapping requests between begin/end, Kevin Wolf, 2013/12/06
- [Qemu-devel] [RFC PATCH 13/19] block: Make zero-after-EOF work with larger alignment, Kevin Wolf, 2013/12/06
- [Qemu-devel] [RFC PATCH 14/19] block: Generalise and optimise COR serialisation, Kevin Wolf, 2013/12/06
- [Qemu-devel] [RFC PATCH 15/19] block: Make overlap range for serialisation dynamic, Kevin Wolf, 2013/12/06
- [Qemu-devel] [RFC PATCH 16/19] block: Align requests in bdrv_co_do_pwritev(), Kevin Wolf, 2013/12/06
- [Qemu-devel] [RFC PATCH 17/19] block: Change coroutine wrapper to byte granularity, Kevin Wolf, 2013/12/06
- [Qemu-devel] [RFC PATCH 18/19] block: Make bdrv_pread() a bdrv_prwv_co() wrapper, Kevin Wolf, 2013/12/06
- [Qemu-devel] [RFC PATCH 19/19] block: Make bdrv_pwrite() a bdrv_prwv_co() wrapper, Kevin Wolf, 2013/12/06
- Re: [Qemu-devel] [RFC PATCH 00/19] block: Support for 512b-on-4k emulation, Paolo Bonzini, 2013/12/06
- Re: [Qemu-devel] [RFC PATCH 00/19] block: Support for 512b-on-4k emulation,
Stefan Hajnoczi <=