diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-02-07 15:35:56 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-02-09 09:12:39 +0100 |
commit | af91f9a73c3a67eebbf4120cae62b82db8eaae19 (patch) | |
tree | 11b8cfd818acf0d5fae29596bc57e5eabba2a6ca /block | |
parent | 99c4a85ce65863e6ba6668164d47c0d7c645e3aa (diff) |
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 <lersek@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions