summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKevin Wolf2014-01-16 13:29:10 +0100
committerKevin Wolf2014-01-24 17:40:28 +0100
commitd5103588aa39157c8eea3bb5fb6780bbd8be21b7 (patch)
tree543f7cc92a36e0157cf35e474ee4eb74b8f6156e /include
parentqemu-iotests: Test pwritev RMW logic (diff)
downloadqemu-d5103588aa39157c8eea3bb5fb6780bbd8be21b7.tar.gz
qemu-d5103588aa39157c8eea3bb5fb6780bbd8be21b7.tar.xz
qemu-d5103588aa39157c8eea3bb5fb6780bbd8be21b7.zip
block: Switch bdrv_io_limits_intercept() to byte granularity
Request sizes used to be rounded down to the next sector boundary, allowing to bypass the I/O limit. Now all requests are accounted for with their exact byte size. Reported-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions