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

2013-12-09 Thread Kevin Wolf
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"

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

2013-12-09 Thread Stefan Hajnoczi
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

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

2013-12-09 Thread Kevin Wolf
Am 06.12.2013 um 18:55 hat Paolo Bonzini geschrieben: > Il 06/12/2013 18:22, Kevin Wolf ha scritto: > > This patch series adds code to the block layer that allows performing > > I/O requests in smaller granularities than required by the host backend > > (most importantly, O_DIRECT restrictions). It

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

2013-12-06 Thread Paolo Bonzini
Il 06/12/2013 18:22, Kevin Wolf ha scritto: > This patch series adds code to the block layer that allows performing > I/O requests in smaller granularities than required by the host backend > (most importantly, O_DIRECT restrictions). It achieves this for reads > by rounding the request to host-sid

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

2013-12-06 Thread Kevin Wolf
This patch series adds code to the block layer that allows performing I/O requests in smaller granularities than required by the host backend (most importantly, O_DIRECT restrictions). It achieves this for reads by rounding the request to host-side block boundary, and for writes by performing a rea