linux/drivers/lightnvm
Matias Bjørling 855cdd2c0b lightnvm: make rrpc_map_page call nvm_get_blk outside locks
The nvm_get_blk() function is called with rlun->lock held. This is ok
when the media manager implementation doesn't go out of its atomic
context. However, if a media manager persists its metadata, and
guarantees that the block is given to the target, this is no longer
a viable approach. Therefore, clean up the flow of rrpc_map_page,
and make sure that nvm_get_blk() is called without any locks acquired.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-07-07 08:51:52 -06:00
..
core.c lightnvm: remove _unlocked variant of [get/put]_blk 2016-07-07 08:51:52 -06:00
gennvm.c lightnvm: remove _unlocked variant of [get/put]_blk 2016-07-07 08:51:52 -06:00
gennvm.h lightnvm: move target mgmt into media mgr 2016-07-07 08:51:52 -06:00
Kconfig lightnvm: rename gennvm and update description 2016-07-07 08:51:52 -06:00
Makefile lightnvm: core on-disk initialization 2016-01-12 08:21:18 -07:00
rrpc.c lightnvm: make rrpc_map_page call nvm_get_blk outside locks 2016-07-07 08:51:52 -06:00
rrpc.h lightnvm: make rrpc_map_page call nvm_get_blk outside locks 2016-07-07 08:51:52 -06:00
sysblk.c lightnvm: Make functions not used by ouside static 2016-07-07 08:51:52 -06:00