Open
Description
In #8952 (comment) it was pointed out that this code looked funny:
circuitpython/ports/espressif/supervisor/internal_flash.c
Lines 154 to 157 in 499cc01
Specifically the value _cache_lba
is set to sector_offset
doesn't match the comparison value block_address
. This likely causes excess sector reads when writing to the file system. I think the data written is still write. The cache just doesn't work right.