diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-01-16 13:29:10 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-01-24 17:40:28 +0100 |
commit | d5103588aa39157c8eea3bb5fb6780bbd8be21b7 (patch) | |
tree | 543f7cc92a36e0157cf35e474ee4eb74b8f6156e /target-moxie/helper.c | |
parent | 9e1cb96d9a5e434f389a4d7b7ff4dcdd71e8ec0f (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 'target-moxie/helper.c')
0 files changed, 0 insertions, 0 deletions