diff options
| author | Max Reitz <mreitz@redhat.com> | 2019-08-05 17:33:08 +0200 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2019-08-06 13:17:25 +0200 |
| commit | 9adc1cb49af8d4e54f57980b1eed5c0a4b2dafa6 (patch) | |
| tree | e29390ef616214a461ab982c319dbce173e6a332 /hw/timer/stm32f2xx_timer.c | |
| parent | 8a9cb864086269af14bbd13f395472703cf99f8c (diff) | |
| download | focaccia-qemu-9adc1cb49af8d4e54f57980b1eed5c0a4b2dafa6.tar.gz focaccia-qemu-9adc1cb49af8d4e54f57980b1eed5c0a4b2dafa6.zip | |
mirror: Only mirror granularity-aligned chunks
In write-blocking mode, all writes to the top node directly go to the target. We must only mirror chunks of data that are aligned to the job's granularity, because that is how the dirty bitmap works. Therefore, the request alignment for writes must be the job's granularity (in write-blocking mode). Unfortunately, this forces all reads and writes to have the same granularity (we only need this alignment for writes to the target, not the source), but that is something to be fixed another time. Cc: qemu-stable@nongnu.org Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20190805153308.2657-1-mreitz@redhat.com Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Fixes: d06107ade0ce74dc39739bac80de84b51ec18546 Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw/timer/stm32f2xx_timer.c')
0 files changed, 0 insertions, 0 deletions