lightnvm: move metadata mapping to lower level driver
authorHans Holmberg <hans@owltronix.com>
Wed, 31 Jul 2019 09:41:34 +0000 (11:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Aug 2019 14:20:10 +0000 (08:20 -0600)
commit48e5da725581c1f7444e45cccbafc33e11430b48
treecd5ca66da05deb64b1d719dcedc4397db96cbd23
parent98d87f70f4ab84b9e50e16b7848937ae07518cd4
lightnvm: move metadata mapping to lower level driver

Now that blk_rq_map_kern can map both kmem and vmem, move internal
metadata mapping down to the lower level driver.

Reviewed-by: Javier González <javier@javigon.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Hans Holmberg <hans@owltronix.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/core.c
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk-read.c
drivers/lightnvm/pblk-recovery.c
drivers/lightnvm/pblk-write.c
drivers/lightnvm/pblk.h
drivers/nvme/host/lightnvm.c
include/linux/lightnvm.h