kernel_optimize_test/drivers/lightnvm
Javier González 9205e44916 pblk: fix max_io calculation
When calculating the maximun I/O size allowed into the buffer, consider
the write size (ws_opt) used by the write thread in order to cover the
case in which, due to flushes, the mem and subm pointers are disaligned
by (ws_opt - 1). This case currently translates into a stall when
an I/O of the largest possible size is submitted.

Fixes: f9f9d1ae2c66 ("lightnvm: pblk: prevent stall due to wb threshold")

Signed-off-by: Javier González <javier@javigon.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-03-07 08:59:26 -07:00
..
core.c
Kconfig
Makefile
pblk-cache.c
pblk-core.c lightnvm: pblk: fix race condition on GC 2019-02-11 08:18:08 -07:00
pblk-gc.c lightnvm: pblk: fix race condition on GC 2019-02-11 08:18:08 -07:00
pblk-init.c lightnvm: pblk: Switch to use new generic UUID API 2019-02-11 08:18:07 -07:00
pblk-map.c lightnvm: pblk: fix race condition on GC 2019-02-11 08:18:08 -07:00
pblk-rb.c lightnvm: pblk: fix race condition on GC 2019-02-11 08:18:08 -07:00
pblk-read.c
pblk-recovery.c lightnvm: pblk: extend line wp balance check 2019-02-11 08:18:07 -07:00
pblk-rl.c pblk: fix max_io calculation 2019-03-07 08:59:26 -07:00
pblk-sysfs.c
pblk-trace.h lightnvm: pblk: fix TRACE_INCLUDE_PATH 2019-02-11 08:18:07 -07:00
pblk-write.c lightnvm: pblk: fix race condition on GC 2019-02-11 08:18:08 -07:00
pblk.h lightnvm: pblk: fix race condition on GC 2019-02-11 08:18:08 -07:00