diff options
author | Javier González <javier@cnexlabs.com> | 2016-02-20 08:52:40 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-03-03 22:46:35 +0100 |
commit | 6adb03de406e8c92579c2e4b11640841fa908277 (patch) | |
tree | 154b268390df5fd4d2a4da747ebedb272b4f4f8b /drivers/lightnvm/gennvm.c | |
parent | xen/blback: Fit the important information of the thread in 17 characters (diff) | |
download | linux-6adb03de406e8c92579c2e4b11640841fa908277.tar.xz linux-6adb03de406e8c92579c2e4b11640841fa908277.zip |
lightnvm: update closed list outside of intr context
When an I/O finishes, full blocks are moved from the open to the closed
list - a lock is taken to protect the list. This happens at the moment
in the interrupt context, which is not correct.
This patch moves this logic to the block workqueue instead, avoiding
holding a spinlock without interrupt save in an interrupt context.
Signed-off-by: Javier González <javier@cnexlabs.com>
Fixes: ff0e498bfa18 ("lightnvm: manage open and closed blocks sepa...")
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm/gennvm.c')
0 files changed, 0 insertions, 0 deletions