commit | d0a712ceb83ebaea32d520825ee7b997f59b168f | [log] [tgz] |
---|---|---|
author | Wenwei Tao <ww.tao0320@gmail.com> | Sat Nov 28 16:49:28 2015 +0100 |
committer | Jens Axboe <axboe@fb.com> | Sun Nov 29 14:34:58 2015 -0700 |
tree | 33c141fe3d4555f86af8eb7275e29e11a1c524d8 | |
parent | 08236c6bb2980561fba657c58fdc76f2865f236c [diff] |
lightnvm: missing nvm_lock acquire To avoid race conditions, traverse dev, media manager, and target lists and also register, unregister entries to/from them, should be always under the nvm_lock control. Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>