Skip to content

FAT32 caching #283

@DrDeano

Description

@DrDeano

Currently, the FAT32 driver will write directly to the underlying stream (could be a RAM disk or a hard disk) when every a write occurs. This would update the FAT, FSInfo and short entry for the file being modified on.
Additionally, when reading files, each time there is a read, the driver will re-seek and re-read the FAT from the stream.
Adding caching to parts of the driver would increase speed.
Caching points:

  • Cache part of the FAT (as this can be big) and read new parts of the FAT when needed
  • Cache the FSInfo
  • Cache file entries
  • Cache files entries in a directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch: noneAffects common code across architecturesenhancementNew feature or requestoptimisationAn opportunity for optimising code size or performance

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions