Mercurial > yaffs-ecoscentric-gpl
comparison yaffs_guts.h @ 393:b5e0ebc1e8e5
Re-enable soft delete for yaffs1 mode.
Soft deletion was disabled because it messed up yaffs2 mode.
Soft deletion is not very valuable for yaffs2 mode, but has been
re-enabled for yaffs1 mode where it is far more value.
Also added a parameter to disable soft delete.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
| author | Charles Manning <cdhmanning@gmail.com> |
|---|---|
| date | Fri, 19 Mar 2010 16:45:49 +1300 |
| parents | 36569f389824 |
| children | 675a2af6ea46 |
comparison
equal
deleted
inserted
replaced
| 392:37c92ae29f6e | 393:b5e0ebc1e8e5 |
|---|---|
| 604 | 604 |
| 605 /* Debug control flags. Don't use unless you know what you're doing */ | 605 /* Debug control flags. Don't use unless you know what you're doing */ |
| 606 int useHeaderFileSize; /* Flag to determine if we should use file sizes from the header */ | 606 int useHeaderFileSize; /* Flag to determine if we should use file sizes from the header */ |
| 607 int disableLazyLoad; /* Disable lazy loading on this device */ | 607 int disableLazyLoad; /* Disable lazy loading on this device */ |
| 608 int wideTnodesDisabled; /* Set to disable wide tnodes */ | 608 int wideTnodesDisabled; /* Set to disable wide tnodes */ |
| 609 int disableSoftDelete; /* yaffs 1 only: Set to disable the use of softdeletion. */ | |
| 609 | 610 |
| 610 int deferDirectoryUpdate; /* Set to defer directory updates */ | 611 int deferDirectoryUpdate; /* Set to defer directory updates */ |
| 611 | 612 |
| 612 }; | 613 }; |
| 613 | 614 |
