aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-01-16 13:29:10 +0100
committerKevin Wolf <kwolf@redhat.com>2014-01-24 17:40:28 +0100
commitd5103588aa39157c8eea3bb5fb6780bbd8be21b7 (patch)
tree543f7cc92a36e0157cf35e474ee4eb74b8f6156e /hw
parent9e1cb96d9a5e434f389a4d7b7ff4dcdd71e8ec0f (diff)
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 'hw')
0 files changed, 0 insertions, 0 deletions