TODO 807 B

123456789101112131415
  1. * When mending lost pages, also see if they fit into length specified in object index header
  2. SPIFFS2 thoughts
  3. * Instead of exact object id:s in the object lookup tables, use a hash of span index and object id.
  4. Eg. object id xor:ed with bit-reversed span index.
  5. This should decrease number of actual pages that needs to be visited when looking thru the obj lut.
  6. * Logical number of each block. When moving stuff in a garbage collected page, the free
  7. page is assigned the same number as the garbage collected. Thus, object index pages do not have to
  8. be rewritten.
  9. * Steal one page, use as a bit parity page. When starting an fs modification operation, write one bit
  10. as zero. When ending, write another bit as zero. On mount, if number of zeroes in page is uneven, a
  11. check is automatically run.