You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/05/29 14:10:28 UTC
[GitHub] andrzej-kaczmarek opened a new pull request #1149: [WIP] sys/log:
Add log storage usage tracking and watermarking
andrzej-kaczmarek opened a new pull request #1149: [WIP] sys/log: Add log storage usage tracking and watermarking
URL: https://github.com/apache/mynewt-core/pull/1149
This adds two new APIs to log subsystem:
- `storage_info` which allows to query log storage for total storage size and currently used storage
- `set_watermark` which allows to set watermark on log (by index) and thus mark e.g. last item read
`storage_info` works for both CBMEM and FCB
`set_watermark` is in progress (including stubs here for discussion) since apparently walking log by index is not implemented so I need to add some more code first...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services