Skip to content

lightnvm: Flexible metadata

Igor Konopko linux-block 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 4 repliesIn review
  2. v45 patches 4 repliesSuperseded
  3. v35 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches5 repliesSuperseded
v15 patches16 repliesSuperseded

Changes in v5 from the cover letter

-rebase on top of ocssd/for-4.21/core

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5lightnvm: pblk: Move lba list to partial read contextdrivers/lightnvm/pblk-read.c drivers/lightnvm/pblk.h+7 -150 replies
2/5lightnvm: pblk: Helpers for OOB metadatadrivers/lightnvm/pblk-core.c drivers/lightnvm/pblk-init.c drivers/lightnvm/pblk-map.c +3 more+69 -320 replies
3/5lightnvm: Flexible DMA pool entry sizedrivers/lightnvm/core.c drivers/lightnvm/pblk-core.c drivers/lightnvm/pblk-init.c +4 more+23 -130 replies
4/5lightnvm: Disable interleaved metadatadrivers/lightnvm/pblk-init.c drivers/nvme/host/lightnvm.c include/linux/lightnvm.h+8 -00 replies
5/5lightnvm: pblk: Support for packed metadatadrivers/lightnvm/pblk-core.c drivers/lightnvm/pblk-init.c drivers/lightnvm/pblk-map.c +6 more+112 -180 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJavier GonzálezHans Holmberg
SeriesT-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

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

Read the v5 thread

Cover letter [PATCH v5 0/5] lightnvm: Flexible metadata

This series of patches extends the way how pblk can store L2P sector metadata. After this set of changes any size of NVMe metadata is supported in pblk. Also there is an support for case without NVMe metadata.

Changes v4 --> v5:
-rebase on top of ocssd/for-4.21/core

Changes v3 --> v4:
-rename nvm_alloc_dma_pool() to nvm_create_dma_pool() -split pblk_get_meta() calls and lba setting into two operations for better core readability -fixing compilation with CONFIG_NVM disabled -getting rid of unnecessary memcpy for packed metadata on write path
-support for drives with oob size >0 and <16B in packed metadata mode
-minor commit message updates

Changes v2 --> v3:
-Rebase on top of ocssd/for-4.21/core -get/set_meta_lba helpers were removed
-dma reallocation was replaced with single allocation -oob metadata size was added to pblk structure -proper checks on pblk creation were added

Changes v1 --> v2:
-Revert sector meta size back to 16b for pblk
-Dma pool for larger oob meta are handled in core instead of pblk -Pblk oob meta helpers uses __le64 as input outpu instead of u64 -Other minor fixes based on v1 patch review

Igor Konopko (5):
lightnvm: pblk: Move lba list to partial read context
lightnvm: pblk: Helpers for OOB metadata
lightnvm: Flexible DMA pool entry size
lightnvm: Disable interleaved metadata
lightnvm: pblk: Support for packed metadata

 drivers/lightnvm/core.c          |  9 ++++--
 drivers/lightnvm/pblk-core.c     | 61 +++++++++++++++++++++++++++++++------
 drivers/lightnvm/pblk-init.c     | 44 +++++++++++++++++++++++++--
 drivers/lightnvm/pblk-map.c      | 20 +++++++-----
 drivers/lightnvm/pblk-rb.c       |  3 ++
 drivers/lightnvm/pblk-read.c     | 66 +++++++++++++++++++++++-----------------
 drivers/lightnvm/pblk-recovery.c | 25 +++++++++------
 drivers/lightnvm/pblk-sysfs.c    |  7 +++++
 drivers/lightnvm/pblk-write.c    |  9 +++---
 drivers/lightnvm/pblk.h          | 24 +++++++++++++--
 drivers/nvme/host/lightnvm.c     |  6 ++--
 include/linux/lightnvm.h         |  3 +-
 12 files changed, 209 insertions(+), 68 deletions(-)
Signature · 1 line
2.14.5