This patch moves the 1.2 and 2.0 block/chunk metadata retrieval to core. Javier, would you like me to pick up your 1.2 chunk state patch and merge it into this one, or would you like to rebase on this later when it has been reviewed? Matias Bjørling (1): lightnvm: move bad block and chunk state logic to core drivers/lightnvm/core.c | 166 ++++++++++++++++++++++++++++--------------- drivers/lightnvm/pblk-core.c | 6 +- drivers/lightnvm/pblk-init.c | 116 +----------------------------- drivers/lightnvm/pblk.h | 2 +- drivers/nvme/host/lightnvm.c | 4 +- include/linux/lightnvm.h | 15 ++-- 6 files changed, 122 insertions(+), 187 deletions(-) -- 2.11.0