Re: [PATCH 0/9] recovery robustness improvements

From: Hans Holmberg
Date: Tue Oct 03 2017 - 09:53:52 EST


Cheers!

Thanks,
Hans

On Tue, Oct 3, 2017 at 12:51 PM, Javier GonzÃlez <jg@xxxxxxxxxxx> wrote:
>> On 3 Oct 2017, at 12.05, Hans Holmberg <hans.ml.holmberg@xxxxxxxxxxxxx> wrote:
>>
>> 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
>
> Thanks Hans.
>
> Matias: I picked the patches on for-4.15/pblk on top of the rest of the
> series and fixed some of the commit messages. Also, note that Rakesh's
> patches needed some re-work, so please pick them from this tree instead.
>
> They should apply clean on your for-4.15/core.
>
> Thanks,
> Javier