lightnvm: pblk: issue multiplane reads if possible
authorJavier González <jg@lightnvm.io>
Mon, 26 Jun 2017 09:57:20 +0000 (11:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Jun 2017 22:27:39 +0000 (16:27 -0600)
commitf9c101523da75cd483b95f04c21242bb83960d93
treea6d20ae407bb1768d844bab613f165617d7ddff3
parent0880a9aa2d91ff5131ecd0902a758afe760b9c1c
lightnvm: pblk: issue multiplane reads if possible

If a read request is sequential and its size aligns with a
multi-plane page size, use the multi-plane hint to process the I/O in
parallel in the controller.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-core.c
drivers/lightnvm/pblk-read.c
drivers/lightnvm/pblk-recovery.c
drivers/lightnvm/pblk.h