Re: [Qemu-devel] [PATCH 1/5] use qemu_blockalign consistently

2010-09-14 Thread Christoph Hellwig
On Mon, Sep 13, 2010 at 08:02:28PM +0100, Stefan Hajnoczi wrote: > On Sun, Sep 12, 2010 at 10:42 PM, Christoph Hellwig wrote: > > Use qemu_blockalign for all allocations in the block layer. ?This allows > > increasing the required alignment, which is need to support O_DIRECT on > > devices with la

Re: [Qemu-devel] [PATCH 1/5] use qemu_blockalign consistently

2010-09-13 Thread Stefan Hajnoczi
On Sun, Sep 12, 2010 at 10:42 PM, Christoph Hellwig wrote: > Use qemu_blockalign for all allocations in the block layer.  This allows > increasing the required alignment, which is need to support O_DIRECT on > devices with large block sizes. > > Signed-off-by: Christoph Hellwig I noticed that th

[Qemu-devel] [PATCH 1/5] use qemu_blockalign consistently

2010-09-12 Thread Christoph Hellwig
Use qemu_blockalign for all allocations in the block layer. This allows increasing the required alignment, which is need to support O_DIRECT on devices with large block sizes. Signed-off-by: Christoph Hellwig Index: qemu/hw/scsi-disk.c ===