Skip to content

Support Flexible Data Placement (FDP)

Jesper Devantier qemu-devel 3 versions – Applied

Status from this message: applied to nvme-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 5 repliesApplied
  2. v25 patches 1 replySuperseded
  3. v15 patches 6 repliesSuperseded

Changelog from the cover letter

==========

* v2 -> v3:
- remove unused trace points (Keith)
- style nit - place '||' on preceding line (Keith)
* v1 -> v2:
- "hw/nvme: add fleible...": check that max 128 placement handles are being created (Keith)
- removed unused NVMe directives struct (Keith)

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5hw/nvme: move adjustment of data_units{read,written}hw/nvme/ctrl.c+8 -62 replies
2/5hw/nvme: store a pointer to the NvmeSubsystem in the NvmeNamespacehw/nvme/ns.c hw/nvme/nvme.h+2 -00 replies
3/5hw/nvme: add basic endurance group supporthw/nvme/ctrl.c hw/nvme/ns.c hw/nvme/nvme.h +1 more+89 -82 replies
4/5hw/nvme: basic directives supporthw/nvme/ctrl.c hw/nvme/nvme.h include/block/nvme.h+71 -60 replies
5/5hw/nvme: flexible data placement emulationhw/nvme/ctrl.c hw/nvme/ns.c hw/nvme/nvme.h +3 more+1179 -150 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchKlaus Jensen
1/5R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] Support Flexible Data Placement (FDP)

From: Jesper Wendel Devantier <[email protected]>

Flexible Data Placement (FDP) is a newly introduced enhancement of the NVM command set introduced by the NVM Express, Inc. organization as TP 4146. FDP aims to extend the NVM command set to enable host-guided data placement. FDP-enabled namespaces can be used as before, but writes may now reference a specific placement id which in turn points to a reclaim unit (RU). RUs are defined as some amount of physical, non-volatile storage which can be erased/reused/repurposed without disturbing any other reclaim units.

For further details on FDP, consult the specification, which is available as "TP4146 Flexible Data Placement 2022.11.30 Ratified.pdf" in the following link:
https://nvmexpress.org/wp-content/uploads/NVM-Express-2.0-Ratified-TPs_20230111.zip

The FDP work builds on 4 preparatory patches, chiefly to add support for endurance groups and directives.
The final patch adds FDP support itself.

Changelog:
==========

* v2 -> v3:
- remove unused trace points (Keith)
- style nit - place '||' on preceding line (Keith)
* v1 -> v2:
- "hw/nvme: add fleible...": check that max 128 placement handles are being created (Keith)
- removed unused NVMe directives struct (Keith)

Gollu Appalanaidu (1):
hw/nvme: basic directives support

Jesper Devantier (1):
hw/nvme: flexible data placement emulation

Joel Granados (1):
hw/nvme: move adjustment of data_units{read,written}

Klaus Jensen (1):
hw/nvme: add basic endurance group support

Niklas Cassel (1):
hw/nvme: store a pointer to the NvmeSubsystem in the NvmeNamespace

 hw/nvme/ctrl.c       | 798 ++++++++++++++++++++++++++++++++++++++++++-
 hw/nvme/ns.c         | 147 ++++++++
 hw/nvme/nvme.h       |  92 ++++-
 hw/nvme/subsys.c     |  94 ++++-
 hw/nvme/trace-events |   1 +
 include/block/nvme.h | 236 ++++++++++++-
 6 files changed, 1341 insertions(+), 27 deletions(-)
Signature · 1 line
2.39.2