linux/drivers/lightnvm
Matias Bjørling 5cd907853d lightnvm: remove nested lock conflict with mm
If a media manager tries to initialize it targets upon media manager
initialization, the media manager will need to know which target types
are available in LightNVM. The lists of which managers and target types
are available shares the same lock.

Therefore, on initialization, the nvm_lock is taken by LightNVM core,
which later leads to a deadlock when target types are enumerated by the
media manager.

Add an exclusive lock for target types to resolve this conflict.

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 nested lock conflict with mm 2016-07-07 08:51:52 -06:00
gennvm.c lightnvm: move target mgmt into media mgr 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: remove open/close statistics for gennvm 2016-07-07 08:51:52 -06:00
rrpc.h lightnvm: remove checkpatch warning for unsigned ints 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