]> asedeno.scripts.mit.edu Git - linux.git/commit
lightnvm: use end_io callback instead of instance
authorMatias Bjørling <matias@cnexlabs.com>
Tue, 31 Jan 2017 12:17:17 +0000 (13:17 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 31 Jan 2017 15:32:13 +0000 (08:32 -0700)
commit06894efea706b3cd4ce31e341ec51b4c62c34a86
treed17b75b474e6b65fcc81cab7846a6cf9c67f8496
parent84d4add793c65b5bda802dcefcf0d7ab1a8e22ed
lightnvm: use end_io callback instead of instance

When the lightnvm core had the "gennvm" layer between the device and the
target, there was a need for the core to be able to figure out which
target it should send an end_io callback to. Leading to a "double"
end_io, first for the media manager instance, and then for the target
instance. Now that core and gennvm is merged, there is no longer a need
for this, and a single end_io callback will do.

Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c
drivers/lightnvm/core.c
drivers/lightnvm/rrpc.c
drivers/lightnvm/rrpc.h
drivers/nvme/host/lightnvm.c
include/linux/lightnvm.h