This series cleans up the metadata allocation/mapping in lnvm/pblk by moving over to kvmalloc for metadata and moving metadata mapping down to the lower lever driver where blk_rq_map_kern can be used. Hans Holmberg (4): lightnvm: remove nvm_submit_io_sync_fn lightnvm: move metadata mapping to lower level driver lightnvm: pblk: use kvmalloc for metadata block: stop exporting bio_map_kern block/bio.c | 1 - drivers/lightnvm/core.c | 43 ++++++++++++--- drivers/lightnvm/pblk-core.c | 116 +++++---------------------------------- drivers/lightnvm/pblk-gc.c | 19 +++---- drivers/lightnvm/pblk-init.c | 38 ++++--------- drivers/lightnvm/pblk-read.c | 22 +------- drivers/lightnvm/pblk-recovery.c | 39 ++----------- drivers/lightnvm/pblk-write.c | 20 +------ drivers/lightnvm/pblk.h | 31 +---------- drivers/nvme/host/lightnvm.c | 45 +++++---------- include/linux/lightnvm.h | 8 +-- 11 files changed, 96 insertions(+), 286 deletions(-) -- 2.7.4