[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1524155964-3743-1-git-send-email-hans.ml.holmberg@owltronix.com>
Date: Thu, 19 Apr 2018 18:39:21 +0200
From: Hans Holmberg <hans.ml.holmberg@...tronix.com>
To: Matias Bjorling <mb@...htnvm.io>
Cc: linux-block@...r.kernel.org, Javier Gonzales <javier@...xlabs.com>,
linux-kernel@...r.kernel.org,
Hans Holmberg <hans.holmberg@...xlabs.com>
Subject: [PATCH 0/3] Rework write error handling in pblk
From: Hans Holmberg <hans.holmberg@...xlabs.com>
This patch series fixes the(currently incomplete) write error handling
in pblk by:
* queuing and re-submitting failed writes in the write buffer
* evacuating valid data data in lines with write failures, so the
chunk(s) with write failures can be reset to a known state by the fw
Lines with failures in smeta are put back on the free list.
Failed chunks will be reset on the next use.
If a write failes in emeta, the lba list is cached so the line can be
garbage collected without scanning the out-of-band area.
Hans Holmberg (3):
lightnvm: pblk: rework write error recovery path
lightnvm: pblk: garbage collect lines with failed writes
lightnvm: pblk: fix smeta write error path
drivers/lightnvm/pblk-core.c | 50 +++++++-
drivers/lightnvm/pblk-gc.c | 79 ++++++++-----
drivers/lightnvm/pblk-init.c | 41 +++++--
drivers/lightnvm/pblk-recovery.c | 91 ---------------
drivers/lightnvm/pblk-rl.c | 29 ++++-
drivers/lightnvm/pblk-sysfs.c | 15 ++-
drivers/lightnvm/pblk-write.c | 243 ++++++++++++++++++++++++++++-----------
drivers/lightnvm/pblk.h | 33 ++++--
8 files changed, 362 insertions(+), 219 deletions(-)
--
2.7.4
Powered by blists - more mailing lists