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/07/06 21:07:11 UTC

[jira] [Created] (MYNEWT-340) NFFS - Open a file with the FS_ACCESS_TRUNCATE flag causes an unlink

Christopher Collins created MYNEWT-340:
------------------------------------------

             Summary: NFFS - Open a file with the FS_ACCESS_TRUNCATE flag causes an unlink
                 Key: MYNEWT-340
                 URL: https://issues.apache.org/jira/browse/MYNEWT-340
             Project: Mynewt
          Issue Type: Bug
          Components: NFFS
            Reporter: Christopher Collins
            Assignee: Christopher Collins


NFFS implements truncation by deleting the specified file and then creating a new one.  This is not very flash efficient.  Better would be to just write a new inode entry with an updated sequence number.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)