« Previous | Next » 

Revision d5103588

IDd5103588aa39157c8eea3bb5fb6780bbd8be21b7

Added by Kevin Wolf about 10 years ago

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 <>
Signed-off-by: Kevin Wolf <>
Reviewed-by: Max Reitz <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences