Eric Blake 0fdf1a4f68 dirty-bitmap: Switch bdrv_set_dirty() to bytes
Both callers already had bytes available, but were scaling to
sectors.  Move the scaling to internal code.  In the case of
bdrv_aligned_pwritev(), we are now passing the exact offset
rather than a rounded sector-aligned value, but that's okay
as long as dirty bitmap widens start/bytes to granularity
boundaries.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2017-10-06 16:28:58 +02:00
..
2016-10-07 14:14:06 +02:00
2017-08-31 12:29:07 +02:00
2016-10-07 14:14:06 +02:00
2017-08-08 15:19:16 +02:00
2017-09-26 15:00:32 +02:00
2017-09-26 15:00:32 +02:00
2016-06-07 18:19:24 +03:00
2017-07-17 11:34:11 +08:00
2017-09-05 14:14:33 +01:00
2017-07-17 11:28:15 +08:00
2016-09-23 11:42:52 +08:00
2017-08-31 12:29:07 +02:00
2017-08-31 12:29:07 +02:00