Skip to content

Why block_size_n equals page_block_size #84

@mingyangHao

Description

@mingyangHao

I see in flash_api.cpp, you hard code block_size_n as PAGE_BLOCK_SIZE. I dont think there is any constraint force those two variable equals.
params.block_size_n = Config::PAGE_BLOCK_SIZE;

If you simply write this equation because you only support block_size_n = 64 and page_block_size = 64, I can later push a PR to support more page_block_size (such as 1, 4, 16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions