Skip to content

logging: backend: implement directory caching in the log_backend_fs.c#52

Merged
vladimirkhusainov-emcraft merged 1 commit intoemcraft-v3.7.99-ncs1-branchfrom
rt-1000-818
Sep 17, 2025
Merged

logging: backend: implement directory caching in the log_backend_fs.c#52
vladimirkhusainov-emcraft merged 1 commit intoemcraft-v3.7.99-ncs1-branchfrom
rt-1000-818

Conversation

@ayurtsev
Copy link

RT-1000-818:

  • Directory caching greatly improves log autorotation mechanism on slow devices.

Copy link

@vladimirkhusainov-emcraft vladimirkhusainov-emcraft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall:

  1. I am not sure all the logic that handles the corner cases is correct. Please double-check.
  2. Please double check we return the memory allocated by k_malloc in all scenarious
  3. Please fix the issues reported by the CI checker.

RT-1000-818:
 - Directory caching greatly improves log autorotation mechanism on slow
   devices.
 - Run clang-format on the file and fix formatting.

Signed-off-by: Alexander Yurtsev <alex@emcraft.com>
@vladimirkhusainov-emcraft vladimirkhusainov-emcraft merged commit cc63545 into emcraft-v3.7.99-ncs1-branch Sep 17, 2025
7 checks passed
@vladimirkhusainov-emcraft vladimirkhusainov-emcraft deleted the rt-1000-818 branch September 17, 2025 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants