[Top][All Lists]

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

Re: [Qemu-devel] buffer alignment for block backends

From: Anthony Liguori
Subject: Re: [Qemu-devel] buffer alignment for block backends
Date: Thu, 09 Apr 2009 11:28:37 -0500
User-agent: Thunderbird (X11/20090320)

Gerd Hoffmann wrote:
The xen block protocol can handle unaligned requests just fine.

Not completely arbitrarily aligned requests. They need to be

Agreed. Sector-alignment you have anyway, thats why I didn't wrote that explicitly.

But even sector-alignment is not guaranteed for the buffers in the bdrv_* API.

You can implement a backend that just implements aio_read/aio_write and you'll always get sector-aligned offsets, but the actual data buffers may have any alignment.


Anthony Liguori


reply via email to

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