[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC 21/24] backup: move to block-copy
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
Re: [RFC 21/24] backup: move to block-copy |
Date: |
Sat, 16 Nov 2019 09:28:08 +0000 |
15.11.2019 20:58, Eric Blake wrote:
> On 11/15/19 8:14 AM, Vladimir Sementsov-Ogievskiy wrote:
>> This brings async request handling and block-status driven chunk sizes
>> to backup out of the box, which improves backup performance.
>>
>> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
>> ---
>
>> +++ b/qapi/block-core.json
>> @@ -1455,6 +1455,12 @@
>> # above node specified by @drive. If this option is not
>> given,
>> # a node name is autogenerated. (Since: 4.2)
>> #
>> +# @x-max-workers: maximum of parallel requests for static data backup. This
>> +# doesn't influence copy-before-write operations. (Since:
>> 4.3)
>> +#
>> +# @x-max-chunk: maximum chunk length for static data backup. This doesn't
>> +# influence copy-before-write operations. (Since: 4.3)
>
> The next release is 5.0, not 4.3.
>
> Is there a reason to keep these experimental for a while? For example, are
> there potential changes to the interface that might affect how it gets used?
> Or should we drop the x- prefix and add this outright in 5.0?
>
Hmm, I added these options to satisfy some very conservative iotests. Still,
they may be meaningful for user too.
The only real doubt is that actually they are options of block-copy, not backup
job. And to not finish up with adding such
parameters to each block-job, it may be better to combine them into a
structure.. Or may be not.
--
Best regards,
Vladimir
- [RFC 22/24] python: add simplebench.py, (continued)
- [RFC 22/24] python: add simplebench.py, Vladimir Sementsov-Ogievskiy, 2019/11/15
- [RFC 10/24] block/block-copy: add state pointer to BlockCopyTask, Vladimir Sementsov-Ogievskiy, 2019/11/15
- [RFC 04/24] block/block-copy: refactor interfaces to use bytes instead of end, Vladimir Sementsov-Ogievskiy, 2019/11/15
- [RFC 01/24] block/block-copy: specialcase first copy_range request, Vladimir Sementsov-Ogievskiy, 2019/11/15
- [RFC 05/24] block/block-copy: rename start to offset in interfaces, Vladimir Sementsov-Ogievskiy, 2019/11/15
- [RFC 07/24] block/block-copy: hide structure definitions, Vladimir Sementsov-Ogievskiy, 2019/11/15
- [RFC 11/24] block/block-copy: move task size initial calculation to _task_create, Vladimir Sementsov-Ogievskiy, 2019/11/15
- [RFC 24/24] python: benchmark new backup architecture, Vladimir Sementsov-Ogievskiy, 2019/11/15
- [RFC 21/24] backup: move to block-copy, Vladimir Sementsov-Ogievskiy, 2019/11/15
- Re: [RFC 00/24] backup performance: block_status + async, no-reply, 2019/11/15