lightnvm: pblk: add asynchronous partial read
authorHeiner Litz <hlitz@ucsc.edu>
Fri, 13 Jul 2018 08:48:44 +0000 (10:48 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Jul 2018 14:14:47 +0000 (08:14 -0600)
commit11f6ad699a32f3be1232741e4bfa34abf6677cb8
tree0b9292a525ddeeee5e04c21fafd4feb75195ea00
parent884b031b288bae15397dd07b084a41ffb44f99e4
lightnvm: pblk: add asynchronous partial read

In the read path, partial reads are currently performed synchronously
which affects performance for workloads that generate many partial
reads. This patch adds an asynchronous partial read path as well as
the required partial read ctx.

Signed-off-by: Heiner Litz <hlitz@ucsc.edu>
Reviewed-by: Igor Konopko <igor.j.konopko@intel.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-read.c
drivers/lightnvm/pblk.h