summaryrefslogtreecommitdiff
path: root/yaffs_guts.h (follow)
AgeCommit message (Collapse)Author
2011-08-15Mods for Linux 3.0 and fix a typoCharles Manning
Roll in NCB's patch and some other changes for Linux 3.0. Also fix a dumb type retired_writes->retried_writes Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-04-28Merge branch 'block-summary'Charles Manning
Conflicts: yaffs_vfs_multi.c Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-03-31yaffs: More mainlining cleanupCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-03-31yaffs: Tweaks to summary codeCharles Manning
Trying some different ideas for handling free space cleaner. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-03-29yaffs: Add first cut of block summary codeCharles Manning
Some issues still need to be checked. In particular: * Is free space handling correct? * Is gc doing The Right Thing? Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-03-07yaffs: Remove debugging argument from temp buffer handlingCharles Manning
No longer track the line number used for allocation. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-02-25yaffs: Remove tags validity checking code.Charles Manning
It was only really useful during development and no longer serves any purpose. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-02-04yaffs: Change all hex values to lower caseCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-02-01yaffs: Update year to 2011 in copyrights etc.Charles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-02-01yaffs: Clean up as per Ryan's commentsCharles Manning
Clean up a whole lot of code issues raised by Ryan. Some further reformatting etc to be mor kernel friendly. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2011-01-13yaffs: Reformatting to be kernel friendly.Charles Manning
Passes checkpatch.pl Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-24yaffs direct: Fix error for attempting to rename over a non-empty directoryCharles Manning
Now produces -ENOTEMPTY. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-09yaffs: Remove SHORT_NAMES_IN_RAM and WIDE_TNODE_DISABLE configsCharles Manning
These have been removed from Linux as their use is discouraged except for debugging purposes. The logic has also changed for SHORT_NAMES_IN_RAM. This is now negative logic. Set CONFIG_YAFFS_NO_SHORT_NAMES to **disable** short names. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-03yaffs: Redo LindentCharles Manning
Only applies to Linux files. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-03yaffs: More clean upCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-03yaffs: More clean up.Charles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-02yaffs: More clean upCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-02yaffs: More clean upCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-02yaffs: More clean upCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-02yaffs: Change __uxx types to uxxCharles Manning
__u32 -> u32 and such. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-11-02yaffs: More name changesCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-10-27yaffs Further name changes and file reorganisationCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-10-07yaffs Make more symbol changesCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-10-07yaffs More symbol changesCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-10-07yaffs First round of name changesCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-09-25yaffs Clean up some codeCharles Manning
Clean up some code. eg remove some conditional compilation and obsolete code. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-09-25yaffs Remove obsolete list debugging codeCharles Manning
This code does not work any more so may as well delete it. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-09-09yaffs Compilation clean upsCharles Manning
Tighten compilation flags and clean up. More to follow... Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-09-09yaffs: Cache object xattrib state.Charles Manning
We cache whether or not an object has xattributes. This is done to get around the problem of the Linux VFS trying to check security capabilities on every write. Assuming that most files don't have security attributes, this code will save on a huge amount of reads and make writing faster. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-09-03yaffs Add stats tracking and control for background gc instrumentationCharles Manning
This allows us to track the impact of background gc. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-08-10yaffs Fix yaffs1 soft delete issueCharles Manning
In some corner cases soft deletion could cause NAND to leak and show up in lost and found. This only impacts yaffs1 mode. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-07-22yaffs Fix xattrib headers for use with unicodeCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-07-22yaffs Clean up WinCE compilation issuesCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-07-21yaffs Refactor yaffs direct device list management, add nand abstraction, ↵Charles Manning
divide up test code This all makes for a far cleaner layout of test code. The new yaffs direct list management allows partitions to be added synamically rather than statically. This is better for OSs that install partitions at runtime (eg. WInCE). The nand abstraction makes it tidier to add a new nand driver to yaffs direct and test code. The test code has been repartitioned to make porting and file management cleaner. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-07-02yaffs Fix scan problem for corrupted tagsCharles Manning
Check that the tags are within reasonable bounds. Without this, subsequent checks can fail causing a mount failure. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-07-02yaffs Refactorisation first phaseCharles Manning
Partitoning code. More to happen. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-07-01yaffs Reactoring WIPCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-06-14yaffs: Refactor allocatorCharles Manning
Refactoring the allocator allows alternate allocators to be switched in more easily Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-06-08yaffs: Add xattrib supportCharles Manning
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-04-27yaffs Some cleanups.Charles Manning
Update copyright messages. Clean up tracing to use TSTR and KERN_DEBUG. Remove cvs $Id. Change /proc/yaffs_debug to /proc/yaffs_stats. ... and a few other clean ups. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-04-20yaffs: More background gc tweaks.Charles Manning
Slight changes to urgency thresholds Fix problem where background gc was interfering with sync resulting in checkpoints being lost. Add more tracing for background gc. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
2010-04-16work in progressCharles Manning
2010-03-19Re-enable soft delete for yaffs1 mode.Charles Manning
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>
2010-03-15Add garbage collection controlcharles
2010-03-15Get rid of kernel lock, change stats to __u32charles
2010-03-09Add background processing of updated directoriescharles
2010-03-05Remove oldestDirtySequence from checkpointcharles
2010-03-04Remove obsolete pathDivider fieldcharles
2010-03-02Clean up yaffs_FindNiceObject to be thread safe and simpler. Fix code that ↵charles
does a dummy tree insert during write
2010-02-25Add block refreshing featurecharles