« Previous | Next » 

Revision c25f53b0

IDc25f53b06eba1575d5d0e92a0132455c97825b83

Added by Paolo Bonzini about 10 years ago

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 <>
Signed-off-by: Kevin Wolf <>
Reviewed-by: Max Reitz <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences