]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: implement generic path for sync I/O
authorJavier González <javier@cnexlabs.com>
Fri, 13 Oct 2017 12:46:47 +0000 (14:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Oct 2017 14:34:57 +0000 (08:34 -0600)
commitf15049cfdff9eeaf0a4921caa6188efad8a32f49
tree7a1112567f728a13c521e0bce8d900b74820f05d
parentc25c2cb93c32728f38b992601d0613c970fa7de6
lightnvm: implement generic path for sync I/O

Implement a generic path for sending sync I/O on LightNVM. This allows
to reuse the standard synchronous path trough blk_execute_rq(), instead
of implementing a wait_for_completion on the target side (e.g., pblk).

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