]> Git Repo - qemu.git/commit
block: bdrv_aligned_pwritev: Assert overlap range
authorKevin Wolf <[email protected]>
Fri, 7 Feb 2014 14:35:56 +0000 (15:35 +0100)
committerKevin Wolf <[email protected]>
Sun, 9 Feb 2014 08:12:39 +0000 (09:12 +0100)
commitaf91f9a73c3a67eebbf4120cae62b82db8eaae19
tree11b8cfd818acf0d5fae29596bc57e5eabba2a6ca
parent99c4a85ce65863e6ba6668164d47c0d7c645e3aa
block: bdrv_aligned_pwritev: Assert overlap range

This adds assertions that the request that we actually end up passing to
the block driver (which includes RMW data and has therefore potentially
been rounded to alignment boundaries) is fully covered by the
overlap_{offset,size} fields of the associated BdrvTrackedRequest.

Suggested-by: Laszlo Ersek <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
block.c
This page took 0.026451 seconds and 4 git commands to generate.