Matias, This patchset implements support for retrieving chunk metadata when submitting a reset/erase command. Patches 0 and 1 are small fixes that can be directly merged into your patch: lightnvm: move bad block and chunk state logic to core Also, note that these do not apply on top of your for-4.20/core due them depending on patches that I sent before that you have not picked up yet. You can see them though in for-4.20/pblk. I'll rebase as patches in the list appear in your tree. Thanks, Javier Javier González (4): lightnvm: use right address format on 1.2 path lightnvm: assign block address before slba lightnvm: pblk: add helper for printing chunk state lightnvm: pblk: retrieve chunk metadata on erase drivers/lightnvm/core.c | 51 +++++++++++++++++++++++++++++++++++++++----- drivers/lightnvm/pblk-core.c | 47 ++++++++++++++++++++++++++++++---------- drivers/lightnvm/pblk.h | 9 ++++++++ 3 files changed, 91 insertions(+), 16 deletions(-) -- 2.7.4