commit | f6352103d2e0ad2d2066725eb19bfdfb8763239b | [log] [tgz] |
---|---|---|
author | Hans Holmberg <hans.holmberg@cnexlabs.com> | Fri Jul 13 10:48:45 2018 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jul 13 08:14:49 2018 -0600 |
tree | 0d0ccd8e8a7a091712bdd796863a01730ce0a254 | |
parent | 11f6ad699a32f3be1232741e4bfa34abf6677cb8 [diff] |
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: 32ef9412c114 ("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>