« Previous | Next » 

Revision 3b8242e0

ID3b8242e0ea2a2c201ef3d1bd24080490dae33080

Added by Kevin Wolf about 10 years ago

block: Align requests in bdrv_co_do_pwritev()

This patch changes bdrv_co_do_pwritev() to actually be what its name
promises. If requests aren't properly aligned, it performs a RMW.

Requests touching the same block are serialised against the RMW request.
Further optimisation of this is possible by differentiating types of
requests (concurrent reads should actually be okay here).

Signed-off-by: Kevin Wolf <>
Reviewed-by: Max Reitz <>
Reviewed-by: Benoit Canet <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences