commit | 8a3c95ab385fb98621455807ae52b4454192f8c5 | [log] [tgz] |
---|---|---|
author | Javier González <jg@lightnvm.io> | Mon Nov 28 22:38:55 2016 +0100 |
committer | Jens Axboe <axboe@fb.com> | Tue Nov 29 12:12:51 2016 -0700 |
tree | 8ef1274d42b4d4034c09e9f752a688c0e1bd2b4f | |
parent | bb3149792e0ed52cf5f457dda4c9bf9c5bda1542 [diff] |
lightnvm: do not protect block 0 Device blocks should be marked by the device and considered as bad blocks by the media manager. Thus, do not make assumptions on which blocks are going to be used by the device. In doing so we might lose valid blocks from the free list. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>