linux/drivers/lightnvm
Hans Holmberg 28bd109411 lightnvm: pblk: remove spinlock when freeing line metadata
Lockdep complains about being in atomic context while freeing line
metadata - and rightly so as we take a spinlock and end up calling
vfree that might sleep(in pblk_mfree).

There is no need for holding the line manager free_lock while
freeing line metadata as the pipeline as stopped, so remove the lock.

Fixes: 588726d3ec ("lightnvm: pblk: fail gracefully on irrec. error")
Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-10-13 08:34:57 -06:00
..
core.c lightnvm: remove stale extern and unused exported symbols 2017-10-13 08:34:57 -06:00
Kconfig lightnvm: include NVM Express driver if OCSSD is selected for build 2017-10-13 08:34:57 -06:00
Makefile lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-cache.c lightnvm: pblk: simplify path on REQ_PREFLUSH 2017-10-13 08:34:57 -06:00
pblk-core.c lightnvm: pblk: gc all lines in the pipeline before exit 2017-10-13 08:34:57 -06:00
pblk-gc.c lightnvm: pblk: gc all lines in the pipeline before exit 2017-10-13 08:34:57 -06:00
pblk-init.c lightnvm: pblk: remove spinlock when freeing line metadata 2017-10-13 08:34:57 -06:00
pblk-map.c lightnvm: pblk: correct valid lba count calculation 2017-10-13 08:34:57 -06:00
pblk-rb.c lightnvm: pblk: reduce arguments in __pblk_rb_update_l2p 2017-10-13 08:34:57 -06:00
pblk-read.c lightnvm: pblk: remove redundant check on read path 2017-10-13 08:34:57 -06:00
pblk-recovery.c lightnvm: pblk: consider bad sectors in emeta during recovery 2017-10-13 08:34:57 -06:00
pblk-rl.c lightnvm: pblk: start gc if needed during init 2017-10-13 08:34:57 -06:00
pblk-sysfs.c lightnvm: pblk: gc all lines in the pipeline before exit 2017-10-13 08:34:57 -06:00
pblk-write.c lightnvm: pblk: remove I/O dependency on write path 2017-10-13 08:34:57 -06:00
pblk.h lightnvm: pblk: gc all lines in the pipeline before exit 2017-10-13 08:34:57 -06:00
rrpc.c blk: remove bio_set arg from blk_queue_split() 2017-06-18 12:40:59 -06:00
rrpc.h lightnvm: use end_io callback instead of instance 2017-01-31 08:32:13 -07:00