kernel_optimize_test/drivers/lightnvm
Hans Holmberg b36bbf9d4f lightnvm: pblk: prevent premature sync point resets
Unless we protect flush pointer updates with a lock, we risk
resetting new flush points before we've synced all sectors
up to that point.

This patch protects new flush points with the same spin lock
that is being held when advancing the sync pointer and
resetting completed flush points.

Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-01-05 08:50:12 -07:00
..
core.c lightnvm: guarantee target unique name across devs. 2018-01-05 08:50:12 -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: simplify path on REQ_PREFLUSH 2017-10-13 08:34:57 -06:00
pblk-core.c lightnvm: pblk: compress and reorder helper functions 2018-01-05 08:50:12 -07:00
pblk-gc.c lightnvm: pblk: refactor emeta consistency check 2018-01-05 08:50:12 -07:00
pblk-init.c lightnvm: make geometry structures 2.0 ready 2018-01-05 08:50:12 -07:00
pblk-map.c lightnvm: use internal pblk methods 2018-01-05 08:50:12 -07:00
pblk-rb.c lightnvm: pblk: prevent premature sync point resets 2018-01-05 08:50:12 -07:00
pblk-read.c lightnvm: pblk: compress and reorder helper functions 2018-01-05 08:50:12 -07:00
pblk-recovery.c lightnvm: pblk: refactor emeta consistency check 2018-01-05 08:50:12 -07:00
pblk-rl.c lightnvm: Convert timers to use timer_setup() 2017-11-21 15:46:44 -08:00
pblk-sysfs.c lightnvm: make geometry structures 2.0 ready 2018-01-05 08:50:12 -07:00
pblk-write.c lightnvm: pblk: clear flush point on completed writes 2018-01-05 08:50:12 -07:00
pblk.h lightnvm: pblk: rename sync_point to flush_point 2018-01-05 08:50:12 -07:00