lightnvm: pblk: implement get log report chunk
authorJavier González <javier@cnexlabs.com>
Thu, 29 Mar 2018 22:05:20 +0000 (00:05 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Mar 2018 23:29:09 +0000 (17:29 -0600)
commit32ef9412c1142c64b372b83d3740f234f4226317
tree5622acbfa881736acb380c2cc819013ea7baf136
parentbb845ae45c3d669ee814ce9f0ed51f2915ee55a0
lightnvm: pblk: implement get log report chunk

In preparation of pblk supporting 2.0, implement the get log report
chunk in pblk. Also, define the chunk states as given in the 2.0 spec.

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