aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/rrpc.h
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2016-07-07 09:54:17 +0200
committerJens Axboe <axboe@fb.com>2016-07-07 08:51:52 -0600
commit5cd907853d5b777c11ecbc8de4482ea5f51663bc (patch)
tree23cf4e800cba9be0351780bb82824713ade3dc82 /drivers/lightnvm/rrpc.h
parentlightnvm: move target mgmt into media mgr (diff)
downloadlinux-dev-5cd907853d5b777c11ecbc8de4482ea5f51663bc.tar.xz
linux-dev-5cd907853d5b777c11ecbc8de4482ea5f51663bc.zip
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>
Diffstat (limited to 'drivers/lightnvm/rrpc.h')
0 files changed, 0 insertions, 0 deletions