linux-hardened/drivers/lightnvm
Hans Holmberg 3c05ef115c lightnvm: pblk: prevent race in pblk_rb_flush_point_set
Make sure that we are not advancing the sync pointer while
we're adding bios to the write buffer entry completion list.

This race condition results in bios not completing and was identified
by a hang when running xfstest generic/113.

Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-03-29 17:29:09 -06:00
..
core.c block: Add 'lock' as third argument to blk_alloc_queue_node() 2018-02-28 12:23:35 -07:00
Kconfig lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
Makefile lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
pblk-cache.c lightnvm: pblk: export write amplification counters to sysfs 2018-03-29 17:29:09 -06:00
pblk-core.c lightnvm: pblk: allow allocation of new lines during shutdown 2018-03-29 17:29:09 -06:00
pblk-gc.c lightnvm/pblk-gc: Delete an error message for a failed memory allocation in pblk_gc_line_prepare_ws() 2018-03-29 17:29:09 -06:00
pblk-init.c lightnvm: pblk: delete writer kick timer before stopping thread 2018-03-29 17:29:09 -06:00
pblk-map.c lightnvm: pblk: export write amplification counters to sysfs 2018-03-29 17:29:09 -06:00
pblk-rb.c lightnvm: pblk: prevent race in pblk_rb_flush_point_set 2018-03-29 17:29:09 -06:00
pblk-read.c lightnvm: pblk: add iostat support 2018-01-05 08:50:12 -07:00
pblk-recovery.c lightnvm: pblk: export write amplification counters to sysfs 2018-03-29 17:29:09 -06:00
pblk-rl.c lightnvm: pblk: use exact free block counter in RL 2018-01-05 08:50:12 -07:00
pblk-sysfs.c lightnvm: pblk: add padding distribution sysfs attribute 2018-03-29 17:29:09 -06:00
pblk-write.c lightnvm: pblk: clear flush point on completed writes 2018-01-05 08:50:12 -07:00
pblk.h lightnvm: pblk: add padding distribution sysfs attribute 2018-03-29 17:29:09 -06:00