Skip to content

lightnvm: bugfixes and improvements

Igor Konopko linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 16 repliesIn review
  2. v113 patches 77 repliesSuperseded

Changes v2->v1 from the cover letter

-skipped patches which were applied in v1
-dropped not needed patch for pblk_should_kick_write() -patch which scan for opened chunks on pblk creation do not close chunk anymore, just print the warning
-unknown read errors are counted seperately from read unrecoverable

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lightnvm: pblk: Gracefully handle GC vmalloc faildrivers/lightnvm/pblk-gc.c+9 -101 reply
2/8lightnvm: pblk: Fix put line back behaviourdrivers/lightnvm/pblk-gc.c+10 -60 replies
3/8lightnvm: pblk: Count all read errors in statsdrivers/lightnvm/pblk-core.c drivers/lightnvm/pblk-init.c drivers/lightnvm/pblk-sysfs.c +1 more+5 -13 replies
4/8lightnvm: pblk: Ensure that erase is chunk aligneddrivers/lightnvm/pblk-map.c+1 -02 replies
5/8lightnvm: pblk: Cleanly fail when there is not enough memorydrivers/lightnvm/pblk-init.c+7 -21 reply
6/8lightnvm: pblk: Set proper read stutus in biodrivers/lightnvm/pblk-read.c+5 -62 replies
7/8lightnvm: pblk: warn about opened chunk on factory initdrivers/lightnvm/pblk-core.c drivers/lightnvm/pblk-init.c drivers/lightnvm/pblk.h+26 -33 replies
8/8lightnvm: Inherit mdts from the parent nvme devicedrivers/lightnvm/core.c drivers/nvme/host/lightnvm.c include/linux/lightnvm.h+9 -23 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchJavier GonzálezHans Holmberg
1/8R-b R-b
2/8R-b R-b
3/8R-b
4/8R-b R-b
5/8R-b R-b
6/8R-b
7/8
8/8R-b R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/8] lightnvm: bugfixes and improvements

This series provides a group of the bugfixes or improvements for lightnvm and pblk device.

Most of the patches are rather simple and covers some corner cases scenario, but we were able to hit most of them in some scenarios. Few others close some existing gaps which we were able to found.

Changes v2->v1:
-skipped patches which were applied in v1
-dropped not needed patch for pblk_should_kick_write() -patch which scan for opened chunks on pblk creation do not close chunk anymore, just print the warning
-unknown read errors are counted seperately from read unrecoverable

Igor Konopko (8):
lightnvm: pblk: Gracefully handle GC vmalloc fail
lightnvm: pblk: Fix put line back behaviour
lightnvm: pblk: Count all read errors in stats
lightnvm: pblk: Ensure that erase is chunk aligned
lightnvm: pblk: Cleanly fail when there is not enough memory
lightnvm: pblk: Set proper read stutus in bio
lightnvm: pblk: warn about opened chunk on factory init
lightnvm: Inherit mdts from the parent nvme device

 drivers/lightnvm/core.c       |  9 +++++++--
 drivers/lightnvm/pblk-core.c  | 15 +++++++++++++++
 drivers/lightnvm/pblk-gc.c    | 35 +++++++++++++++++++----------------
 drivers/lightnvm/pblk-init.c  | 24 +++++++++++++++++++-----
 drivers/lightnvm/pblk-map.c   |  1 +
 drivers/lightnvm/pblk-read.c  | 11 +++++------
 drivers/lightnvm/pblk-sysfs.c |  3 ++-
 drivers/lightnvm/pblk.h       |  2 ++
 drivers/nvme/host/lightnvm.c  |  1 +
 include/linux/lightnvm.h      |  1 +
 10 files changed, 72 insertions(+), 30 deletions(-)
Signature · 1 line
2.9.5