Paolo Bonzini c25f53b06e 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>
2014-01-24 17:40:02 +01:00
..
2013-09-12 10:12:47 +02:00
2013-09-12 10:12:47 +02:00
2013-12-20 16:26:16 +01:00
2013-09-12 10:12:47 +02:00
2013-08-19 15:52:19 +02:00
2013-12-16 10:12:20 +01:00
2013-12-16 10:12:20 +01:00
2014-01-24 14:33:00 +01:00
2013-09-12 10:12:48 +02:00