linux/drivers/lightnvm
Matias Bjørling 43241cfe47 lightnvm: pblk: remove debug from pblk_[down/up]_page
Remove the debug only iteration within __pblk_down_page, which
then allows us to reduce the number of arguments down to pblk and
the parallel unit from the functions that calls it. Simplifying the
callers logic considerably.

Also, rename the functions pblk_[down/up]_page to
pblk_[down/up]_chunk, to communicate that it manages the write
pointer of the chunk. Note that it also protects the parallel unit
such that at most one chunk is active per parallel unit.

Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-10-09 08:25:07 -06:00
..
core.c lightnvm: introduce nvm_rq_to_ppa_list 2018-10-09 08:25:07 -06:00
Kconfig lightnvm: remove dependencies on BLK_DEV_NVME and PCI 2018-10-09 08:25:05 -06:00
Makefile lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
pblk-cache.c block: Add and use op_stat_group() for indexing disk_stat fields. 2018-07-18 08:44:20 -06:00
pblk-core.c lightnvm: pblk: remove debug from pblk_[down/up]_page 2018-10-09 08:25:07 -06:00
pblk-gc.c lightnvm: pblk: expose generic disk name on pr_* msgs 2018-07-13 08:14:43 -06:00
pblk-init.c lightnvm: pblk: allocate line map bitmaps using a mempool 2018-10-09 08:25:07 -06:00
pblk-map.c lightnvm: pblk: remove debug from pblk_[down/up]_page 2018-10-09 08:25:07 -06:00
pblk-rb.c lightnvm: pblk: improve line helpers 2018-10-09 08:25:06 -06:00
pblk-read.c lightnvm: pblk: fix up prints in pblk_read_check_rand 2018-10-09 08:25:07 -06:00
pblk-recovery.c lightnvm: pblk: remove debug from pblk_[down/up]_page 2018-10-09 08:25:07 -06:00
pblk-rl.c lightnvm: pblk: unify vector max req constants 2018-10-09 08:25:06 -06:00
pblk-sysfs.c lightnvm: pblk: fix write amplificiation calculation 2018-10-09 08:25:07 -06:00
pblk-write.c lightnvm: pblk: remove debug from pblk_[down/up]_page 2018-10-09 08:25:07 -06:00
pblk.h lightnvm: pblk: remove debug from pblk_[down/up]_page 2018-10-09 08:25:07 -06:00