[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 09/14] hw/block/nvme: Support Zoned Namespace Command Set
From: |
Klaus Jensen |
Subject: |
Re: [PATCH v5 09/14] hw/block/nvme: Support Zoned Namespace Command Set |
Date: |
Wed, 30 Sep 2020 07:20:06 +0200 |
On Sep 28 12:42, Klaus Jensen wrote:
> On Sep 28 11:35, Dmitry Fomichev wrote:
> > The emulation code has been changed to advertise NVM Command Set when
> > "zoned" device property is not set (default) and Zoned Namespace
> > Command Set otherwise.
> >
> > Handlers for three new NVMe commands introduced in Zoned Namespace
> > Command Set specification are added, namely for Zone Management
> > Receive, Zone Management Send and Zone Append.
> >
> > Device initialization code has been extended to create a proper
> > configuration for zoned operation using device properties.
> >
> > Read/Write command handler is modified to only allow writes at the
> > write pointer if the namespace is zoned. For Zone Append command,
> > writes implicitly happen at the write pointer and the starting write
> > pointer value is returned as the result of the command. Write Zeroes
> > handler is modified to add zoned checks that are identical to those
> > done as a part of Write flow.
> >
> > The code to support for Zone Descriptor Extensions is not included in
> > this commit and ZDES 0 is always reported. A later commit in this
> > series will add ZDE support.
> >
> > This commit doesn't yet include checks for active and open zone
> > limits. It is assumed that there are no limits on either active or
> > open zones.
> >
>
> I think the fill_pattern feature stands separate, so it would be nice to
> extract that to a patch on its own.
>
Please disregard this.
Since the fill_pattern feature is tightly bound to reading in zones, it
doesnt really make sense to extract it.
signature.asc
Description: PGP signature
- Re: [PATCH v5 05/14] hw/block/nvme: Add support for Namespace Types, (continued)
- [PATCH v5 06/14] hw/block/nvme: Add support for active/inactive namespaces, Dmitry Fomichev, 2020/09/27
- [PATCH v5 07/14] hw/block/nvme: Make Zoned NS Command Set definitions, Dmitry Fomichev, 2020/09/27
- [PATCH v5 08/14] hw/block/nvme: Define Zoned NS Command Set trace events, Dmitry Fomichev, 2020/09/27
- [PATCH v5 10/14] hw/block/nvme: Introduce max active and open zone limits, Dmitry Fomichev, 2020/09/27
- [PATCH v5 11/14] hw/block/nvme: Support Zone Descriptor Extensions, Dmitry Fomichev, 2020/09/27
- [PATCH v5 09/14] hw/block/nvme: Support Zoned Namespace Command Set, Dmitry Fomichev, 2020/09/27
- Re: [PATCH v5 09/14] hw/block/nvme: Support Zoned Namespace Command Set, Klaus Jensen, 2020/09/28
- Re: [PATCH v5 09/14] hw/block/nvme: Support Zoned Namespace Command Set, Klaus Jensen, 2020/09/28
- Re: [PATCH v5 09/14] hw/block/nvme: Support Zoned Namespace Command Set,
Klaus Jensen <=
- Re: [PATCH v5 09/14] hw/block/nvme: Support Zoned Namespace Command Set, Klaus Jensen, 2020/09/30
- Re: [PATCH v5 09/14] hw/block/nvme: Support Zoned Namespace Command Set, Niklas Cassel, 2020/09/30
- Re: [PATCH v5 09/14] hw/block/nvme: Support Zoned Namespace Command Set, Niklas Cassel, 2020/09/30
- [PATCH v5 12/14] hw/block/nvme: Add injection of Offline/Read-Only zones, Dmitry Fomichev, 2020/09/27
- [PATCH v5 13/14] hw/block/nvme: Use zone metadata file for persistence, Dmitry Fomichev, 2020/09/27
- [PATCH v5 14/14] hw/block/nvme: Document zoned parameters in usage text, Dmitry Fomichev, 2020/09/27