-
Notifications
You must be signed in to change notification settings - Fork 944
Description
First of all, thank you for the excellent project. It's a great library with tons of options, well done.
We have a large project that runs on a stm32 with Freertos. We use littlefs to store persistent variables and files. This has worked well for a couple of years until recently we ran into very slow lfs_renames.
Together, with removing lfs_rename we also updated littleFS to the latest version.
This is throwing some issues because some operations require a lot more stack than before. We need to bump each task that stores some variable in littlefs.
How would you structure the littlefs integration if you have for example 30 Freertos tasks that all require storing a unique single value in littlefs? The current solution to store the variable directly from the tasks is not workable, because each task requires a stack increase of +2000 bytes to be able to open the files.
Is there a solution in littlefs that we are missing? Our solution might be to write a caching layer in a task that contains littlefs to a single task.
Does anyone with a similar problem already fixed this?