TDBStore: call `BlockDevice::erase()` regarless of erase value
From the documentations of `BlockDevice::get_erase_value()`:

    -1 if you can't rely on the value of the erased storage

and `BlockDevice::program()`:

    The blocks must have been erased prior to being programmed

So, `BlockDevice::erase()` should always be called regardless of
erase value.
ls
1 parent fb4e5e8 commit aedc6009ea36ed9913360d71e2e130141820df1d
@Lingkai Dong Lingkai Dong authored on 6 Apr 2021
Showing 1 changed file
View
storage/kvstore/tdbstore/source/TDBStore.cpp