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 2017/06/14 21:16:00 UTC

[jira] [Updated] (MYNEWT-338) NFFS - Can't delete from a completely full file system

     [ https://issues.apache.org/jira/browse/MYNEWT-338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Collins updated MYNEWT-338:
---------------------------------------
    Fix Version/s:     (was: v1_1_0_rel)

> NFFS - Can't delete from a completely full file system
> ------------------------------------------------------
>
>                 Key: MYNEWT-338
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-338
>             Project: Mynewt
>          Issue Type: Bug
>      Security Level: Public(Viewable by anyone) 
>          Components: NFFS
>            Reporter: Christopher Collins
>            Assignee: Christopher Collins
>
> Deleting a file or directory requires writing an inode to the disk.  If the disk is completely full, there is not room for the deletion record, and the delete attempt will fail with an FS_EFULL error.
> It should be sufficient to always ensure that at least one area has room for a deletion record.  All deletion records are the same size.  Once a deletion record is written, the previous inode entry and all children inodes or constituent data blocks can be removed during garbage collection.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)