linux/drivers/lightnvm
Hans Holmberg d6b992f7ab lightnvm: pblk: gc all lines in the pipeline before exit
Finish garbage collect of the lines that are in the gc pipeline
before exiting. Ensure that all lines already in in the pipeline
goes through, from read to write.

Do this by keeping track of how many lines are in the pipeline
and waiting for that number to reach zero before exiting the gc
reader task.

Since we're adding a new gc line counter, change the name of
inflight_gc to read_inflight_gc to make the distinction clear.

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: add l2p crc debug printouts 2017-10-13 08:34:57 -06:00
pblk-map.c lightnvm: pblk: enable 1 LUN configuration 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