diff --git a/source/ftl/map.c b/source/ftl/map.c index 61e16e6..6989a33 100644 --- a/source/ftl/map.c +++ b/source/ftl/map.c @@ -301,8 +301,8 @@ static int find_head(struct ftl_map *map) static void reset_map(struct ftl_map *map) { - map->log2_erase_size = ilog2(4 * KIB); - map->log2_page_size = ilog2(4 * KIB); + map->log2_erase_size = dev->log2_block_size; + map->log2_page_size = ilog2(1 * KIB); map->log2_block_size = ilog2(64 * KIB); find_block_div(map);