linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] lightnvm: pblk: recover chunk state on 1.2 devices
@ 2018-06-28  9:12 Javier González
  2018-06-28  9:12 ` Javier González
  0 siblings, 1 reply; 12+ messages in thread
From: Javier González @ 2018-06-28  9:12 UTC (permalink / raw)
  To: mb; +Cc: hans.holmberg, linux-block, linux-kernel, Javier González

Hi Matias,

As discussed, here you have the patch reconstructing the state for 1.2
devices.

As mentioned in the patch itself, we make a tradeoff by doing this, as
writes might fail (or be more unstable) in case that a block has been
erased long before it is in used, and 1.2 does not have a way to
communicate this. The only thing the device can do is force an erase on
write when this happens, but if the device is responsible for this, one
could argue that it could prevent double-erases - which follows better
the predictability model we seek in Open-Channel.

Thoughts?

If we go this way, I will push a patch to the qemu 1.2 branch, as in the
initialization, we need to match empty page reporting with the block
metadata representing that the block is indeed erased. Ping me if you
want this patch in advance for testing.

Thanks,
Javier

Javier González (1):
  lightnvm: pblk: recover chunk state on 1.2 devices

 drivers/lightnvm/pblk-init.c | 138 ++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 124 insertions(+), 14 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-08-03 12:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-28  9:12 [PATCH] lightnvm: pblk: recover chunk state on 1.2 devices Javier González
2018-06-28  9:12 ` Javier González
2018-06-29 11:14   ` Matias Bjørling
2018-06-29 11:22     ` Javier Gonzalez
2018-06-29 11:28       ` Matias Bjørling
2018-07-24  7:54         ` Javier Gonzalez
2018-08-03 11:57           ` Matias Bjørling
2018-08-03 12:02             ` Javier Gonzalez
2018-08-03 12:30               ` Matias Bjørling
2018-08-03 12:37                 ` Javier Gonzalez
2018-08-03 12:46                   ` Matias Bjørling
2018-08-03 12:53                     ` Javier Gonzalez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).