[Qemu-devel] [PATCH 0/4] active-mirror: support unaligned guest operations

Vladimir Sementsov-Ogievskiy posted 4 patches 6 years, 2 months ago
Test docker-clang@ubuntu passed
Test docker-quick@centos7 passed
Test FreeBSD passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190912151338.21225-1-vsementsov@virtuozzo.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, John Snow <jsnow@redhat.com>, Max Reitz <mreitz@redhat.com>
There is a newer version of this series
include/sysemu/block-backend.h |   4 +
block/block-backend.c          |  17 +++-
block/mirror.c                 | 153 +++++++++++++--------------------
3 files changed, 78 insertions(+), 96 deletions(-)
[Qemu-devel] [PATCH 0/4] active-mirror: support unaligned guest operations
Posted by Vladimir Sementsov-Ogievskiy 6 years, 2 months ago
Commit 9adc1cb49af8d fixed a bug about unaligned (to dirty bitmap
granularity) guest writes (and discards) by simply requesting
corresponding alignment on mirror-top filter. However forcing large
alignment obviously decreases performance of unaligned requests.

So it's time for a new solution which is in 03. And 04 reverts
9adc1cb49af8d.

Vladimir Sementsov-Ogievskiy (4):
  block/mirror: simplify do_sync_target_write
  block/block-backend: add blk_co_pwritev_part
  block/mirror: support unaligned write in active mirror
  Revert "mirror: Only mirror granularity-aligned chunks"

 include/sysemu/block-backend.h |   4 +
 block/block-backend.c          |  17 +++-
 block/mirror.c                 | 153 +++++++++++++--------------------
 3 files changed, 78 insertions(+), 96 deletions(-)

-- 
2.21.0


Re: [PATCH 0/4] active-mirror: support unaligned guest operations
Posted by Vladimir Sementsov-Ogievskiy 6 years, 1 month ago
ping

12.09.2019 18:13, Vladimir Sementsov-Ogievskiy wrote:
> Commit 9adc1cb49af8d fixed a bug about unaligned (to dirty bitmap
> granularity) guest writes (and discards) by simply requesting
> corresponding alignment on mirror-top filter. However forcing large
> alignment obviously decreases performance of unaligned requests.
> 
> So it's time for a new solution which is in 03. And 04 reverts
> 9adc1cb49af8d.
> 
> Vladimir Sementsov-Ogievskiy (4):
>    block/mirror: simplify do_sync_target_write
>    block/block-backend: add blk_co_pwritev_part
>    block/mirror: support unaligned write in active mirror
>    Revert "mirror: Only mirror granularity-aligned chunks"
> 
>   include/sysemu/block-backend.h |   4 +
>   block/block-backend.c          |  17 +++-
>   block/mirror.c                 | 153 +++++++++++++--------------------
>   3 files changed, 78 insertions(+), 96 deletions(-)
> 


-- 
Best regards,
Vladimir