lightnvm: remove nvm_submit_io_sync_fn
authorHans Holmberg <hans@owltronix.com>
Wed, 31 Jul 2019 09:41:33 +0000 (11:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Aug 2019 14:20:09 +0000 (08:20 -0600)
commit98d87f70f4ab84b9e50e16b7848937ae07518cd4
treedb0aae5bc1c71e257d721530bb542194d52fac12
parent556f36e90dbe7dded81f4fac084d2bc8a2458330
lightnvm: remove nvm_submit_io_sync_fn

Move the redundant sync handling interface and wait for a completion in
the lightnvm core instead.

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/nvme/host/lightnvm.c
include/linux/lightnvm.h