[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/9] recovery robustness improvements
From: Hans Holmberg <>

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: 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(-)


 \ /
  Last update: 2017-10-03 12:09    [W:0.077 / U:0.784 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site