From: Klaus Jensen <its@irrelevant.dk>
To: clay.mayers@kioxia.com
Cc: qemu-devel@nongnu.org, "Keith Busch" <kbusch@kernel.org>,
"Fam Zheng" <fam@euphon.net>,
"Phlippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: Re: [PATCH 1/4] hw/block/nvme: add ZONE_FINISH_RECOMMENDED functionality
Date: Fri, 21 Oct 2022 08:36:36 +0200 [thread overview]
Message-ID: <Y1I99OtVUfBPLaF6@cormorant.local> (raw)
In-Reply-To: <20221021001835.942642-2-clay.mayers@kioxia.com>
[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]
On Oct 20 17:18, clay.mayers@kioxia.com wrote:
> From: Clay Mayers <clay.mayers@kioxia.com>
>
> Adds ns.param.zoned.finish_time, which sets the number of
> seconds a zone can remain active before the zone attribute
> ZONE_FINISH_RECOMMENDED is set.
>
> This requires scanning the exp open, imp open and closed lists
> of zones whenever a zone is marked as requiring finishing. The
> expectation is these lists will be short (10s of items) allowing a
> simpler implementation than keeping the lists sorted. It also
> keeps the overhead during the exception of a timeout instead of
> when zones change state between open and closed. For use cases
> where this isn't true, finish_time should be 0 to disable this
> feature (the default).
>
> Signed-off-by: Clay Mayers <clay.mayers@kioxia.com>
> ---
> docs/system/devices/nvme.rst | 5 +++++
> hw/nvme/ctrl.c | 35 +++++++++++++++++++++++++++++++++++
> hw/nvme/ns.c | 8 ++++++++
> hw/nvme/nvme.h | 18 ++++++++++++++----
> 4 files changed, 62 insertions(+), 4 deletions(-)
>
Single timer? Check.
LGTM.
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2022-10-21 6:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-21 0:18 [PATCH 0/4] hw/block/nvme: Implement ZNS finish-zone ZDC AEN clay.mayers
2022-10-21 0:18 ` [PATCH 1/4] hw/block/nvme: add ZONE_FINISH_RECOMMENDED functionality clay.mayers
2022-10-21 6:36 ` Klaus Jensen [this message]
2022-10-21 0:18 ` [PATCH 2/4] hw/block/nvme: add zone descriptor changed log page clay.mayers
2022-10-21 6:26 ` Klaus Jensen
2022-10-21 15:24 ` Clay Mayers
2022-10-21 0:18 ` [PATCH 3/4] hw/block/nvme: supply dw1 for aen result clay.mayers
2022-10-21 5:59 ` Klaus Jensen
2022-10-21 15:25 ` Clay Mayers
2022-10-21 0:18 ` [PATCH 4/4] hw/block/nvme: add zone descriptor changed AEN clay.mayers
2022-10-21 6:41 ` Klaus Jensen
2022-10-21 16:39 ` Clay Mayers
2022-10-21 5:57 ` [PATCH 0/4] hw/block/nvme: Implement ZNS finish-zone ZDC AEN Klaus Jensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y1I99OtVUfBPLaF6@cormorant.local \
--to=its@irrelevant.dk \
--cc=clay.mayers@kioxia.com \
--cc=f4bug@amsat.org \
--cc=fam@euphon.net \
--cc=kbusch@kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).