You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Christopher Collins (JIRA)" <ji...@apache.org> on 2016/02/26 06:53:18 UTC
[jira] [Closed] (MYNEWT-165) NFFS - Block collation during garbage
collection can break parent file
[ https://issues.apache.org/jira/browse/MYNEWT-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Collins closed MYNEWT-165.
--------------------------------------
Resolution: Fixed
> NFFS - Block collation during garbage collection can break parent file
> ----------------------------------------------------------------------
>
> Key: MYNEWT-165
> URL: https://issues.apache.org/jira/browse/MYNEWT-165
> Project: Mynewt
> Issue Type: Bug
> Components: NFFS
> Reporter: Christopher Collins
> Assignee: Christopher Collins
> Fix For: v0_8_0_beta2
>
>
> During garbage collection, consecutive data blocks in the area being GCed are collated into a single block. The resulting block should inherit its ID from its last constituent data block, as this is the ID that the parent inode and subsequent data block reference.
> The code gets this backwards; the resulting block inherits its ID from its *first* constituent data block.
> The fix is to inherit from the last block.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)