lightnvm: pblk: use kvmalloc for metadata
authorHans Holmberg <hans@owltronix.com>
Wed, 31 Jul 2019 09:41:35 +0000 (11:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Aug 2019 14:20:10 +0000 (08:20 -0600)
commitff8f352070b204ab1721f41339547d897f8120fd
treeebf597f4539125ab4252b225cdceffceb85a01cc
parent48e5da725581c1f7444e45cccbafc33e11430b48
lightnvm: pblk: use kvmalloc for metadata

There is no reason now not to use kvmalloc, so replace the internal
metadata allocation scheme.

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/pblk-core.c
drivers/lightnvm/pblk-gc.c
drivers/lightnvm/pblk-init.c
drivers/lightnvm/pblk.h