[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 9/9] block/block-copy: hide structure definitions
From: |
Max Reitz |
Subject: |
Re: [PATCH v3 9/9] block/block-copy: hide structure definitions |
Date: |
Tue, 10 Mar 2020 16:38:45 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
On 06.03.20 08:38, Vladimir Sementsov-Ogievskiy wrote:
> Hide structure definitions and add explicit API instead, to keep an
> eye on the scope of the shared fields.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
> ---
> include/block/block-copy.h | 52 +++----------------------------
> block/backup-top.c | 6 ++--
> block/backup.c | 25 +++++++--------
> block/block-copy.c | 63 ++++++++++++++++++++++++++++++++++++--
> 4 files changed, 82 insertions(+), 64 deletions(-)
[...]
> diff --git a/block/block-copy.c b/block/block-copy.c
> index d66b8eb691..a2d8579ca0 100644
> --- a/block/block-copy.c
> +++ b/block/block-copy.c
[...]
> static BlockCopyInFlightReq *find_conflicting_inflight_req(BlockCopyState *s,
> - int64_t offset,
> - int64_t bytes)
> + int64_t offset,
> + int64_t bytes)
Now I see why Andrey says that the alignment fits; this should be
squashed into patch 7.
With that done:
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH v3 7/9] block/block-copy: rename start to offset in interfaces, (continued)
[PATCH v3 6/9] block/block-copy: refactor interfaces to use bytes instead of end, Vladimir Sementsov-Ogievskiy, 2020/03/06
[PATCH v3 8/9] block/block-copy: reduce intersecting request lock, Vladimir Sementsov-Ogievskiy, 2020/03/06
[PATCH v3 9/9] block/block-copy: hide structure definitions, Vladimir Sementsov-Ogievskiy, 2020/03/06
[PATCH v3 1/9] job: refactor progress to separate object, Vladimir Sementsov-Ogievskiy, 2020/03/06
[PATCH v3 4/9] block/block-copy: use block_status, Vladimir Sementsov-Ogievskiy, 2020/03/06