[PATCH 0/9] recovery robustness improvements

From: Hans Holmberg
Date: Tue Oct 03 2017 - 06:06:54 EST


From: Hans Holmberg <hans.holmberg@xxxxxxxxxxxx>

This patchset improves the robustness of recovery - fixing a bunch of
issues that occurs when removing and re-creating a pblk instance.
It also adds a couple of debug-only prints to facilitate detection
of L2P table corruptions.

The patches apply on top of:
https://github.com/OpenChannelSSD/linux branch for-4.15/pblk

Hans Holmberg (9):
lightnvm: pblk: prevent gc kicks when gc is not operational
lightnvm: pblk: recover partially written lines correctly
lightnvm: pblk: free full lines during recovery
lightnvm: pblk: start gc if needed during init
lightnvm: pblk: consider bad sectors in emeta during recovery
lightnvm: pblk: shut down gc gracefully during exit
lightnvm: pblk: add l2p crc debug printouts
lightnvm: pblk: gc all lines in the pipeline before exit
lightnvm: pblk: correct valid lba count calculation

drivers/lightnvm/pblk-core.c | 3 ++
drivers/lightnvm/pblk-gc.c | 88 +++++++++++++++++++++++++++-------------
drivers/lightnvm/pblk-init.c | 47 ++++++++++++++++++---
drivers/lightnvm/pblk-map.c | 7 ++--
drivers/lightnvm/pblk-recovery.c | 46 ++++++++++++++-------
drivers/lightnvm/pblk-sysfs.c | 2 +-
drivers/lightnvm/pblk.h | 6 ++-
7 files changed, 145 insertions(+), 54 deletions(-)

--
2.7.4