This patchset adds pblk support for variable metadata sizes on the out of bound area.
Igor, Marcin, you sent a patch some time ago implementing a similar functionality, but it never got re-posted after review. Can you test this and see if it works for your case? I did not implement support for outlined metadata for the case where the reported OOB area is 0. It should be pretty simple to do that on top of these patches though. Thanks, Javier Javier González (3): lightnvm: use internal allocation for chunk log page lightnvm: do no update csecs and sos on 1.2 lightnvm: pblk: support variable OOB size drivers/lightnvm/pblk-core.c | 60 ++++++++++++++++++++++++++++++---------- drivers/lightnvm/pblk-init.c | 16 ++++++++++- drivers/lightnvm/pblk-map.c | 19 +++++++++---- drivers/lightnvm/pblk-read.c | 55 ++++++++++++++++++++++-------------- drivers/lightnvm/pblk-recovery.c | 34 ++++++++++++++++------- drivers/lightnvm/pblk.h | 18 +++++++++--- drivers/nvme/host/lightnvm.c | 26 +++++++++++------ 7 files changed, 164 insertions(+), 64 deletions(-) -- 2.7.4