Home
last modified time | relevance | path

Searched hist:c25f53b06eba1575d5d0e92a0132455c97825b83 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/block/
H A Dblock_int.hdiff c25f53b06eba1575d5d0e92a0132455c97825b83 Tue Nov 29 05:42:20 CST 2011 Paolo Bonzini <pbonzini@redhat.com> raw: Probe required direct I/O alignment

Add a bs->request_alignment field that contains the required
offset/length alignment for I/O requests and fill it in the raw block
drivers. Use ioctls if possible, else see what alignment it takes for
O_DIRECT to succeed.

While at it, also expose the memory alignment requirements, which may be
(and in practice are) different from the disk alignment requirements.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
/openbmc/qemu/
H A Dblock.cdiff c25f53b06eba1575d5d0e92a0132455c97825b83 Tue Nov 29 05:42:20 CST 2011 Paolo Bonzini <pbonzini@redhat.com> raw: Probe required direct I/O alignment

Add a bs->request_alignment field that contains the required
offset/length alignment for I/O requests and fill it in the raw block
drivers. Use ioctls if possible, else see what alignment it takes for
O_DIRECT to succeed.

While at it, also expose the memory alignment requirements, which may be
(and in practice are) different from the disk alignment requirements.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>