[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v2 2/7] qcow2: add zd_extension configurations to zoned metadat
From: |
Markus Armbruster |
Subject: |
Re: [RFC v2 2/7] qcow2: add zd_extension configurations to zoned metadata |
Date: |
Thu, 30 Nov 2023 11:12:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Sam Li <faithilikerun@gmail.com> writes:
> Zone descriptor data is host definied data that is associated with
> each zone. Add zone descriptor extensions to zonedmeta struct.
>
> Signed-off-by: Sam Li <faithilikerun@gmail.com>
[...]
> struct BlockBackendRootState {
> diff --git a/qapi/block-core.json b/qapi/block-core.json
> index ef98dc83a0..a7f238371c 100644
> --- a/qapi/block-core.json
> +++ b/qapi/block-core.json
> @@ -5074,12 +5074,16 @@
> # append request that can be issued to the device. It must be
> # 512-byte aligned
> #
> +# @descriptor-extension-size: The size of zone descriptor extension
> +# data. Must be a multiple of 64 bytes (since 8.2)
Two spaces between sentences for consistency, please.
What's the default?
> +#
> # Since 8.2
> ##
> { 'struct': 'Qcow2ZoneHostManaged',
> 'data': { '*size': 'size',
> '*capacity': 'size',
> '*conventional-zones': 'uint32',
> + '*descriptor-extension-size': 'size',
> '*max-open-zones': 'uint32',
> '*max-active-zones': 'uint32',
> '*max-append-bytes': 'uint32' } }
- [RFC v2 0/7] Add persistence to NVMe ZNS emulation, Sam Li, 2023/11/27
- [RFC v2 0/7] Add persistence to NVMe ZNS emulation, Sam Li, 2023/11/27
- [RFC v2 3/7] hw/nvme: use blk_get_*() to access zone info in the block layer, Sam Li, 2023/11/27
- [RFC v2 2/7] qcow2: add zd_extension configurations to zoned metadata, Sam Li, 2023/11/27
- Re: [RFC v2 2/7] qcow2: add zd_extension configurations to zoned metadata,
Markus Armbruster <=
- [RFC v2 4/7] hw/nvme: add blk_get_zone_extension to access zd_extensions, Sam Li, 2023/11/27
- [RFC v2 1/7] docs/qcow2: add zd_extension_size option to the zoned format feature, Sam Li, 2023/11/27
- [RFC v2 5/7] hw/nvme: make the metadata of ZNS emulation persistent, Sam Li, 2023/11/27
- [RFC v2 6/7] hw/nvme: refactor zone append write using block layer APIs, Sam Li, 2023/11/27
- [RFC v2 7/7] hw/nvme: make ZDED persistent, Sam Li, 2023/11/27
- Re: [RFC v2 0/7] Add persistence to NVMe ZNS emulation, Markus Armbruster, 2023/11/30