]> git.baikalelectronics.ru Git - kernel.git/commit
lightnvm: pblk: assume that chunks are closed on 1.2 devices
authorHans Holmberg <hans.holmberg@cnexlabs.com>
Fri, 13 Jul 2018 08:48:45 +0000 (10:48 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Jul 2018 14:14:49 +0000 (08:14 -0600)
commit808c8331e0ba68802d7a3a230a8a7a813b11a0d7
tree0d0ccd8e8a7a091712bdd796863a01730ce0a254
parent79361a78e9fbb53ce08b4eead65a4e8b5c906957
lightnvm: pblk: assume that chunks are closed on 1.2 devices

We can't know if a block is closed or not on 1.2 devices, so assume
closed state to make sure that blocks are erased before writing.

Fixes: 42b9c892c29e ("lightnvm: pblk: implement get log report chunk")
Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/lightnvm/pblk-init.c