#3476 new enhancement

IMFS - Improve Bytes Per Block Handling

Reported by: Joel Sherrill Owned by:
Priority: normal Milestone: Indefinite
Component: fs Version:
Severity: normal Keywords: SoC, API, small, filesystem
Cc: Blocked By:
Blocking:

Description (last modified by Joel Sherrill)

This ticket involves improvements to the IMFS bytes per block behavior. These changes will also need to be reflected in user facing documentation.

  • Currently, the behavior when presented when an invalid configuration value for bytes per block is to silently use the default. It is likely preferable to have a fatal error.
  • Allow for larger block sizes. When implemented, a block size of 512 which resulted in a maximum file size of 1GB was near unimaginable for an embedded system. Allowing for a maximum of at least 1K and possibly 2K seems reasonable now. Note that adding new block size options requires calculating the corresponding maximum file sizes and updating imfs.h and user facing documentation.

Possible Mentors: Joel Sherrill
Skills: C
Difficulty: Easy

Note: For a SoC project, this may be combined with #3477 to make a large project.

Change History (3)

comment:1 Changed on 02/04/22 at 18:49:06 by Gedare Bloom

Keywords: API small added

comment:2 Changed on 02/25/22 at 20:07:33 by Joel Sherrill

Description: modified (diff)
Keywords: filesystem added

comment:3 Changed on 02/25/22 at 20:11:10 by Joel Sherrill

Description: modified (diff)
Version: 5
Note: See TracTickets for help on using tickets.